[DRE-commits] [ruby-json] 04/06: Set also JAVA_HOME in ruby-tests.rb to allow java tests to run in autopkgtest environment
Cédric Boutillier
boutil at moszumanska.debian.org
Tue Jul 18 21:57:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-json.
commit 63f1464094d540285a8d143dc7fcbda09c1c95fc
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue Jul 18 22:20:30 2017 +0200
Set also JAVA_HOME in ruby-tests.rb to allow java tests to run in autopkgtest environment
---
debian/changelog | 2 ++
debian/ruby-tests.rb | 1 +
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b53a206..cdafcf3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ ruby-json (2.1.0+dfsg-1) UNRELEASED; urgency=medium
* Drop 0005-Disable-rubygems-usage-in-tests-helper.patch, not needed anymore
* Use debian/gemspec introduced with gem2deb 0.35 to specify gemspec to use
* Mark debian/gemspec as included binary
+ * Set also JAVA_HOME in ruby-tests.rb to allow java tests to run in
+ autopkgtest environment
-- Cédric Boutillier <boutil at debian.org> Fri, 07 Jul 2017 00:38:33 +0200
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 9dcf815..35c7fef 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -8,5 +8,6 @@ ENV['json'] = 'ext'
puts "Ext version of the tests"
system("#{ENV['RUBY_TEST_BIN']} #{inc} tests/*_test.rb") or raise
ENV['JSON'] = 'ext'
+ENV['JAVA_HOME'] = '/usr/lib/jvm/default-java'
puts "Java ext version of the tests"
system("jruby -S rake test_ext") or raise
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-json.git
More information about the Pkg-ruby-extras-commits
mailing list