Skip to content

Instantly share code, notes, and snippets.

@markhibberd
Created February 24, 2009 11:38
Show Gist options
  • Save markhibberd/69528 to your computer and use it in GitHub Desktop.
Save markhibberd/69528 to your computer and use it in GitHub Desktop.
Buildfile: build.xml
init:
jar:
init:
extract-rdocs:
prepare:
prepare-resources:
[copy] Copying 1 file to /usr/home/markh/work/jruby/jruby/build/classes/jruby
compile-annotation-binder:
check-for-optional-java4-packages:
check-for-optional-packages:
compile-jruby:
compile:
generate-method-classes:
_gmc_internal_:
generate-unsafe:
_gu_internal_:
jar-jruby:
_update_scm_revision_:
[jar] Building jar: /usr/home/markh/work/jruby/jruby/lib/jruby.jar
[jar] Warning: selected jar files include a META-INF/INDEX.LIST which will be replaced by a newly generated one.
compile-test:
[javac] Compiling 1 source file to /usr/home/markh/work/jruby/jruby/build/classes/test
copy-test-files:
instrument:
run-junit-compiled:
[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: 32.575 sec
[junit]
[junit] Testsuite: org.jruby.test.BFTSTestSuite
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 3.671 sec
[junit]
[junit] Testsuite: org.jruby.test.JRubyTestSuite
[junit] Tests run: 94, Failures: 0, Errors: 0, Time elapsed: 84.154 sec
[junit]
[junit] Testsuite: org.jruby.test.MRITestSuite
[junit] Tests run: 44, Failures: 0, Errors: 0, Time elapsed: 31.044 sec
[junit]
[junit] Testsuite: org.jruby.test.RubiconTestSuite
[junit] Tests run: 45, Failures: 0, Errors: 0, Time elapsed: 25.817 sec
[junit]
[junit] Testsuite: org.jruby.test.RubyTestTestSuite
[junit] Error:
[junit] test_blockdev(TC_File_Block_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:51:in `test_blockdev'
[junit] Failure:
[junit] test_blockdev_basic(TC_File_Block_ClassMethod) [test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44]:
[junit] Exception raised:
[junit] Class: <TypeError>
[junit] Message: <"can't convert nil into String">
[junit] ---Backtrace---
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44:in `test_blockdev_basic'
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44:in `test_blockdev_basic'
[junit] ---------------
[junit] )
[junit] Error:
[junit] test_ftype_block(TC_File_Ftype_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_ftype.rb:75:in `test_ftype_block'
[junit] Error:
[junit] test_ftype_link(TC_File_Ftype_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_ftype.rb:79:in `test_ftype_link'
[junit] )
[junit] Failure:
[junit] test_rdev(TC_FileStat_Rdev_InstanceMethod) [test/externals/ruby_test/test/core/FileStat/instance/tc_rdev.rb:23]:
[junit] <true> expected but was
[junit] <false>.
[junit] )
[junit] Failure:
[junit] test_rdev_minor(TC_FileStat_RdevMinor_Instance) [test/externals/ruby_test/test/core/FileStat/instance/tc_rdev_minor.rb:30]:
[junit] <0> expected but was
[junit] <573286>.
[junit] )
[junit] Failure:
[junit] test_included_modules(TC_Module_IncludeModules_InstanceMethod) [test/externals/ruby_test/test/core/Module/instance/tc_included_modules.rb:29]:
[junit] <[IncludedMod_B, IncludedMod_A, Config, Kernel]> expected but was
[junit] <[IncludedMod_B, IncludedMod_A, PP::ObjectMixin, Config, Kernel]>.
[junit] )
[junit] Error:
[junit] test_rlimit_constants(TC_Process_Constants):
[junit] NameError: uninitialized constant Process::RLIMIT_SBSIZE
[junit] test/externals/ruby_test/test/core/Process/class/tc_constants.rb:58:in `test_rlimit_constants'
[junit] )
[junit] Tests run: 589, Failures: 6, Errors: 0, Time elapsed: 196.155 sec
[junit]
[junit] Testcase: externals/ruby_test/test/core/File/class/tc_blockdev(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test/externals/ruby_test/test/core/File/class/tc_blockdev, complete output follows:
[junit] Error:
[junit] test_blockdev(TC_File_Block_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:51:in `test_blockdev'
[junit] Failure:
[junit] test_blockdev_basic(TC_File_Block_ClassMethod) [test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44]:
[junit] Exception raised:
[junit] Class: <TypeError>
[junit] Message: <"can't convert nil into String">
[junit] ---Backtrace---
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44:in `test_blockdev_basic'
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44:in `test_blockdev_basic'
[junit] ---------------
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running test/externals/ruby_test/test/core/File/class/tc_blockdev, complete output follows:
[junit] Error:
[junit] test_blockdev(TC_File_Block_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:51:in `test_blockdev'
[junit] Failure:
[junit] test_blockdev_basic(TC_File_Block_ClassMethod) [test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44]:
[junit] Exception raised:
[junit] Class: <TypeError>
[junit] Message: <"can't convert nil into String">
[junit] ---Backtrace---
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44:in `test_blockdev_basic'
[junit] test/externals/ruby_test/test/core/File/class/tc_blockdev.rb:44:in `test_blockdev_basic'
[junit] ---------------
[junit]
[junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:210)
[junit]
[junit]
[junit] Testcase: externals/ruby_test/test/core/File/class/tc_ftype(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test/externals/ruby_test/test/core/File/class/tc_ftype, complete output follows:
[junit] Error:
[junit] test_ftype_block(TC_File_Ftype_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_ftype.rb:75:in `test_ftype_block'
[junit] Error:
[junit] test_ftype_link(TC_File_Ftype_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_ftype.rb:79:in `test_ftype_link'
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running test/externals/ruby_test/test/core/File/class/tc_ftype, complete output follows:
[junit] Error:
[junit] test_ftype_block(TC_File_Ftype_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_ftype.rb:75:in `test_ftype_block'
[junit] Error:
[junit] test_ftype_link(TC_File_Ftype_ClassMethod):
[junit] TypeError: can't convert nil into String
[junit] test/externals/ruby_test/test/core/File/class/tc_ftype.rb:79:in `test_ftype_link'
[junit]
[junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:210)
[junit]
[junit]
[junit] Testcase: externals/ruby_test/test/core/FileStat/instance/tc_rdev(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test/externals/ruby_test/test/core/FileStat/instance/tc_rdev, complete output follows:
[junit] Failure:
[junit] test_rdev(TC_FileStat_Rdev_InstanceMethod) [test/externals/ruby_test/test/core/FileStat/instance/tc_rdev.rb:23]:
[junit] <true> expected but was
[junit] <false>.
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running test/externals/ruby_test/test/core/FileStat/instance/tc_rdev, complete output follows:
[junit] Failure:
[junit] test_rdev(TC_FileStat_Rdev_InstanceMethod) [test/externals/ruby_test/test/core/FileStat/instance/tc_rdev.rb:23]:
[junit] <true> expected but was
[junit] <false>.
[junit]
[junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:210)
[junit]
[junit]
[junit] Testcase: externals/ruby_test/test/core/FileStat/instance/tc_rdev_minor(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test/externals/ruby_test/test/core/FileStat/instance/tc_rdev_minor, complete output follows:
[junit] Failure:
[junit] test_rdev_minor(TC_FileStat_RdevMinor_Instance) [test/externals/ruby_test/test/core/FileStat/instance/tc_rdev_minor.rb:30]:
[junit] <0> expected but was
[junit] <573286>.
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running test/externals/ruby_test/test/core/FileStat/instance/tc_rdev_minor, complete output follows:
[junit] Failure:
[junit] test_rdev_minor(TC_FileStat_RdevMinor_Instance) [test/externals/ruby_test/test/core/FileStat/instance/tc_rdev_minor.rb:30]:
[junit] <0> expected but was
[junit] <573286>.
[junit]
[junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:210)
[junit]
[junit]
[junit] Testcase: externals/ruby_test/test/core/Module/instance/tc_included_modules(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test/externals/ruby_test/test/core/Module/instance/tc_included_modules, complete output follows:
[junit] Failure:
[junit] test_included_modules(TC_Module_IncludeModules_InstanceMethod) [test/externals/ruby_test/test/core/Module/instance/tc_included_modules.rb:29]:
[junit] <[IncludedMod_B, IncludedMod_A, Config, Kernel]> expected but was
[junit] <[IncludedMod_B, IncludedMod_A, PP::ObjectMixin, Config, Kernel]>.
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running test/externals/ruby_test/test/core/Module/instance/tc_included_modules, complete output follows:
[junit] Failure:
[junit] test_included_modules(TC_Module_IncludeModules_InstanceMethod) [test/externals/ruby_test/test/core/Module/instance/tc_included_modules.rb:29]:
[junit] <[IncludedMod_B, IncludedMod_A, Config, Kernel]> expected but was
[junit] <[IncludedMod_B, IncludedMod_A, PP::ObjectMixin, Config, Kernel]>.
[junit]
[junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:210)
[junit]
[junit]
[junit] Testcase: externals/ruby_test/test/core/Process/class/tc_constants(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test/externals/ruby_test/test/core/Process/class/tc_constants, complete output follows:
[junit] Error:
[junit] test_rlimit_constants(TC_Process_Constants):
[junit] NameError: uninitialized constant Process::RLIMIT_SBSIZE
[junit] test/externals/ruby_test/test/core/Process/class/tc_constants.rb:58:in `test_rlimit_constants'
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running test/externals/ruby_test/test/core/Process/class/tc_constants, complete output follows:
[junit] Error:
[junit] test_rlimit_constants(TC_Process_Constants):
[junit] NameError: uninitialized constant Process::RLIMIT_SBSIZE
[junit] test/externals/ruby_test/test/core/Process/class/tc_constants.rb:58:in `test_rlimit_constants'
[junit]
[junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:210)
[junit]
[junit]
[junit] TEST org.jruby.test.RubyTestTestSuite FAILED
[junit] Testsuite: org.jruby.test.MainTestSuite
[junit] Tests run: 114, Failures: 0, Errors: 0, Time elapsed: 82.68 sec
[junit]
[junitreport] Processing /usr/home/markh/work/jruby/jruby/build/test-results/TESTS-TestSuites.xml to /var/tmp/null134994959
[junitreport] Loading stylesheet jar:file:/usr/local/share/java/apache-ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 2213ms
[junitreport] Deleting: /var/tmp/null134994959
test-security-manager:
[java] Restricted policy looks ok
install-gems:
[java] JRuby limited openssl loaded. gem install jruby-openssl for full support.
[java] http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
[java] Successfully installed rspec-1.1.12
[java] Successfully installed rake-0.8.3
[java] 2 gems installed
[java] Installing ri documentation for rspec-1.1.12...
[java] Installing ri documentation for rake-0.8.3...
[java] Installing RDoc documentation for rspec-1.1.12...
[java] Installing RDoc documentation for rake-0.8.3...
test-rake-targets:
[echo] compile=OFF, threshold=20, objectspace=true threadpool=false reflection=false
[java] (in /usr/home/markh/work/jruby/jruby)
[java] Buildfile: build.xml
[java]
[java] prepare-resources:
[java] [copy] Copying 1 file to /usr/home/markh/work/jruby/jruby/build/classes/jruby
[java] [jar] Building jar: /usr/home/markh/work/jruby/jruby/lib/jruby.jar
[java] [jar] Warning: selected jar files include a META-INF/INDEX.LIST which will be replaced by a newly generated one.
[java]
[java] compile-test:
[java] [javac] Compiling 1 source file to /usr/home/markh/work/jruby/jruby/build/classes/test
[java]
[java] BUILD SUCCESSFUL
[java] Total time: 25 seconds
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:34 warning: already initialized constant NullPointerException
[java]
[java] Pending:
[java]
[java] An overloaded Java instance method should raise error when called with too few args (not sure why these are failing)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] An overloaded Java static method should raise error when called with too few args (TODO)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java instance method names should present boolean javabean property accessors as '?' method (not implemented)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java instance method names should present as both camel-case and ruby-case (broken)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java static method names should not overwrite critical core Ruby methods (need a better way to separate class and instance methods in the java code)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java static method names should present boolean javabean property accessors as '?' method (not implemented)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java static method names should present as both camel-case and ruby-case (broken)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] A Ruby subclass of a Java class can not invoke private methods of the superclass (Why doesn't this raise NoMethodError?)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] A Ruby subclass of a Java class can not invoke package-visible methods of the superclass (Why doesn't this raise NoMethodError?)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java primitive-box-typed interface methods should coerce to Ruby types for the implementer (We do not coerce numerics to boxed Java numerics (yet?))
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java String, primitive, and object-typed interface methods should coerce or wrap to usable Ruby types for the implementer (char appears to be getting signed/unsigned-garbled)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java String and primitive-typed methods should select the most narrow and precise overloaded method (selection based on precision is not supported yet)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] Java String and primitive-typed methods should raise errors when passed values can not be precisely coerced (precision failure does not raise error)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[java]
[java] A Java package can be imported using 'include_package package.module (does not work; probably should for consistency?)
[java] /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/example/example_methods.rb:114:in `instance_eval'
[echo] compile=OFF, threshold=20, objectspace=true threadpool=false reflection=false
[java] (in /usr/home/markh/work/jruby/jruby)
[java] /usr/home/markh/work/jruby/jruby/bin/jruby -Ilib --debug "/usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb" "test/tracing/test_trace_func.rb"
[java] Loaded suite /usr/home/markh/work/jruby/jruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader
[java] Started
[java] ........
[java] .
[java] Finished in 0.134 seconds.
[java]
[java] 9 tests, 9 assertions, 0 failures, 0 errors
[echo] compile=OFF, threshold=20, objectspace=true threadpool=false reflection=false
[java] (in /usr/home/markh/work/jruby/jruby)
[java] .
[java]
[java] Finished in 0.631 seconds
[java]
[java] 1 example, 0 failures
[echo] compile=OFF, threshold=20, objectspace=true threadpool=false reflection=false
[java] (in /usr/home/markh/work/jruby/jruby)
[java] .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
[java]
[java] Finished in 2.025 seconds
[java]
[java] 1989 examples, 0 failures
coverage-report:
test:
BUILD SUCCESSFUL
Total time: 10 minutes 16 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment