commit:     2794d51b40d3d19a96a92f342bad68526ec33286
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 19:14:38 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 19:26:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2794d51b

dev-ruby/json: fix tests for test-unit:2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ruby/json/json-1.8.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild
index f28acee7b26..4c33066a9d1 100644
--- a/dev-ruby/json/json-1.8.3.ebuild
+++ b/dev-ruby/json/json-1.8.3.ebuild
@@ -52,11 +52,11 @@ each_ruby_compile() {
 
 each_ruby_test() {
        JSON=pure \
-       ${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "pure ruby tests 
failed"
+       ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "pure ruby tests 
failed"
 
        if [[ $(basename ${RUBY}) != "jruby" ]]; then
                JSON=ext \
-               ${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "ext ruby 
tests failed"
+               ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "ext ruby 
tests failed"
        fi
 }
 

Reply via email to