Hi.

Gentoo has packaged jruby-1.3.1 but we are having some problems getting the 
unit tests to run correctly.   The strange part is,  for me at least, that 
some unit tests are failing outside of gentoo's build environment but pass 
within.  We also have a developer who is having unit tests fail.  My guess is 
that this is because of something unique with his system but hopefully someone 
can shed some light on this.

Firstly we have a bug https://bugs.gentoo.org/show_bug.cgi?id=282439 about the  
developers failing unit tests and an attachment 
https://bugs.gentoo.org/attachment.cgi?id=202030 with the build log ( the 
interesting stuff ).  You will notice that we do build rewriting.  This just 
ensures the -source and -target

Now when compiling outside of gentoo's build environment I am receiving the 
following error.   Is this expected?  Are all the unit tests meant to pass?

run-junit-compiled-short:
     [echo] compile=JIT, jit.threshold=0, 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: 22.016 sec     
                                        
    [junit]                                                                     
                                        
    [junit] Testsuite: org.jruby.test.JRubyTestSuite                            
                                        
    [junit] Failure:
    [junit] test_backquotes_with_redirects_pass_through_shell(TestBackquote) 
[test/test_backquote.rb:57]:
    [junit] <"arguments: five six\n"> expected but was
    [junit] <"">.
    [junit] )
    [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 2.987 sec
    [junit]
    [junit] Testcase: 
test_backquote(org.jruby.test.TestUnitTestSuite$ScriptTest):      FAILED
    [junit] Faults encountered running test/test_backquote, complete output 
follows:
    [junit] Failure:
    [junit] test_backquotes_with_redirects_pass_through_shell(TestBackquote) 
[test/test_backquote.rb:57]:
    [junit] <"arguments: five six\n"> expected but was
    [junit] <"">.
    [junit]
    [junit] junit.framework.AssertionFailedError: Faults encountered running 
test/test_backquote, complete output follows:
    [junit] Failure:
    [junit] test_backquotes_with_redirects_pass_through_shell(TestBackquote) 
[test/test_backquote.rb:57]:
    [junit] <"arguments: five six\n"> expected but was
    [junit] <"">.
    [junit]
    [junit]     at 
org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:210)
    [junit]
    [junit]

Thanks
Alistair.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to