Skip to content

Instantly share code, notes, and snippets.

@alistair
Created June 25, 2010 11:39
Show Gist options
  • Save alistair/452744 to your computer and use it in GitHub Desktop.
Save alistair/452744 to your computer and use it in GitHub Desktop.
run-junit-interpreted-short:
[echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1, objectspace=true threadpool=false reflection=false version=ruby1_8
[junit] Testsuite: org.jruby.test.ScriptTestSuite
[junit] Tests run: 79, Failures: 0, Errors: 0, Time elapsed: 17.193 sec
[junit]
[junit] Testsuite: org.jruby.test.JRubyTestSuite
[junit] /var/tmp/portage/dev-java/jruby-1.5.1-r1/work/jruby-1.5.1
[junit] Tests run: 114, Failures: 1, Errors: 0, Time elapsed: 116.979 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] /var/tmp/portage/dev-java/jruby-1.5.1-r1/work/jruby-1.5.1
[junit] ------------- ---------------- ---------------
[junit] Testcase: test_kernel(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test/test_kernel, complete output follows:
[junit] Failure:
[junit] test_exec_rubyopt(TestKernel) [./test/test_kernel.rb:746]:
[junit] <""> expected to be =~
[junit] </ruby/i>.
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running test/test_kernel, complete output follows:
[junit] Failure:
[junit] test_exec_rubyopt(TestKernel) [./test/test_kernel.rb:746]:
[junit] <""> expected to be =~
[junit] </ruby/i>.
[junit]
[junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:224)
[junit]
[junit]
BUILD FAILED
This is what happens when you run the command from the console
$ RUBYOPT="-v" ruby -e "a=1"
$
$ RUBYOPT="-v" jruby -e "a=1"
jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-20 6586) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_20) [amd64-java]
$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment