Philippe Vouters created JRUBY-6440: ---------------------------------------
Summary: ant test fails with both your JRuby 1.6.6 and mine Key: JRUBY-6440 URL: https://jira.codehaus.org/browse/JRUBY-6440 Project: JRuby Issue Type: Bug Components: Application Error Affects Versions: JRuby 1.6.6 Environment: Windows 7 Java V1.6.0_27 (32 bits); Linux Fedora 16; OpenJDK 6 Reporter: Philippe Vouters Fix For: JRuby 1.6.6 When jruby-src-1.6.6.tar.gz is downloaded from http://jruby.org/download, ant test fails: A/ on Windows 7 for two reasons: 1/ On a French version of Windows 7 test_big_decimal must be changed from assert_equal "10.00", format.format(value) to: assert_equal "10,00" format.format(value) (this test does not handle the locale) 2/ When this is corrected, it fails with the ruby -IC:... command B/ on Linux Fedora 16, for one reason: run-junit-interpreted-short: [echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1, objectspace=false threadpool=false reflection=false version=ruby1_8 [junit] WARNING: multiple versions of ant detected in path for junit [junit] jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/Project.class [junit] and jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class [junit] Testsuite: org.jruby.test.ScriptTestSuite [junit] Tests run: 71, Failures: 0, Errors: 0, Time elapsed: 13.272 sec [junit] [junit] Testsuite: org.jruby.test.JRubyTestSuite [junit] LoadError: no such file to load -- ubygems [junit] Tests run: 98, Failures: 1, Errors: 0, Time elapsed: 144.463 sec [junit] [junit] ------------- Standard Error ----------------- [junit] LoadError: no such file to load -- ubygems [junit] ------------- ---------------- --------------- [junit] Testcase: test_load_compiled_ruby_class_from_classpath(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED [junit] Faults encountered running test/test_load_compiled_ruby_class_from_classpath, complete output follows: [junit] Failure: [junit] test_loading_compiled_ruby_class_from_jar(LoadCompiledRubyClassFromClasspathTest) [junit] [./test/test_load_compiled_ruby_class_from_classpath.rb:84:in `test_loading_compiled_ruby_class_from_jar' [junit] org/jruby/RubyKernel.java:2074:in `send' [junit] org/jruby/RubyArray.java:1614:in `each']: [junit] did not get 0 for exit status from running java against the jar. [junit] <0> expected but was [junit] <1>. [junit] [junit] junit.framework.AssertionFailedError: Faults encountered running test/test_load_compiled_ruby_class_from_classpath, complete output follows: [junit] Failure: [junit] test_loading_compiled_ruby_class_from_jar(LoadCompiledRubyClassFromClasspathTest) [junit] [./test/test_load_compiled_ruby_class_from_classpath.rb:84:in `test_loading_compiled_ruby_class_from_jar' [junit] org/jruby/RubyKernel.java:2074:in `send' [junit] org/jruby/RubyArray.java:1614:in `each']: [junit] did not get 0 for exit status from running java against the jar. [junit] <0> expected but was [junit] <1>. [junit] [junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:224) [junit] [junit] BUILD FAILED /home/philippe/jruby-1.6.6/build.xml:874: The following error occurred while executing this line: /home/philippe/jruby-1.6.6/build.xml:1023: The following error occurred while executing this line: /home/philippe/jruby-1.6.6/build.xml:971: Tests failed -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email