Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Created April 16, 2010 22:04
Show Gist options
  • Select an option

  • Save BanzaiMan/369035 to your computer and use it in GitHub Desktop.

Select an option

Save BanzaiMan/369035 to your computer and use it in GitHub Desktop.
[system]:rubychan[svn:553] $ jruby -J-Djruby.jit.maxsize=10000000 -S rake test:all
(in /Users/asari/Development/src/rubychan)
Testing with ruby -w -v
jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-04-16 5e33934) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_17) [x86_64-java]
ruby -w ./test/functional/suite.rb
Running basic CodeRay 0.9.3 tests...
Loaded suite ./test/functional/suite
Started
.................
Finished in 0.307 seconds.
17 tests, 38 assertions, 0 failures, 0 errors
ruby -w ./test/functional/for_redcloth.rb
Loaded suite ./test/functional/for_redcloth
Started
Finished in 0.001 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
RedCloth not found - skipping for_redcloth tests.
ruby -w ./test/scanners/suite.rb
Loaded suite CodeRay::Scanners
Started
>> Testing C scanner <<
Random test - finished.
Loading examples in test/scanners/c/*.in.c...7 examples found.
elvis 0.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s.
empty 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
error 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
error2 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
open-string 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
ruby 2297.4K: incremental, shuffled, complete, identity, highlighting, finished in 4.34s ( 148 Ktok/s).
strange 3.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 174 Ktok/s).
Finished in 13.77s.
.
>> Testing C++ scanner <<
Random test - finished.
Loading examples in test/scanners/cpp/*.in.cpp...4 examples found.
elvis 0.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
eventmachine 180.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.14s ( 227 Ktok/s).
pleac 57.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.04s ( 237 Ktok/s).
wedekind 0.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
Finished in 3.80s.
.
>> Testing CSS scanner <<
Random test - finished.
Loading examples in test/scanners/css/*.in.css...5 examples found.
S5 7.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.02s ( 155 Ktok/s).
ignos-draconis 28.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.06s ( 133 Ktok/s).
redmine 22.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.05s ( 160 Ktok/s).
standard 0.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
yui 380.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.59s ( 173 Ktok/s).
Finished in 6.57s.
.
>> Testing CodeRay Token Dump scanner <<
Random test - finished.
Loading examples in test/scanners/debug/*.in.raydebug...2 examples found.
class 1.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 237 Ktok/s).
kate 8.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 191 Ktok/s).
Finished in 2.19s.
.
>> Testing Delphi scanner <<
Random test - finished.
Loading examples in test/scanners/delphi/*.in.pas...2 examples found.
pluto 278.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.73s ( 104 Ktok/s).
ytools 64.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.30s ( 77 Ktok/s).
Finished in 3.80s.
.
>> Testing diff output scanner <<
Random test - finished.
Loading examples in test/scanners/diff/*.in.diff...2 examples found.
coderay200vs250 66.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.05s ( 176 Ktok/s).
example 0.8K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
Finished in 0.98s.
.
>> Testing Groovy scanner <<
Random test - finished.
Loading examples in test/scanners/groovy/*.in.groovy...4 examples found.
pleac 381.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.71s ( 108 Ktok/s).
raistlin77 14.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.04s ( 108 Ktok/s).
strange 0.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
strings 1.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 130 Ktok/s).
Finished in 8.08s.
.
>> Testing HTML scanner <<
Random test - finished.
Loading examples in test/scanners/html/*.in.html...3 examples found.
ampersand 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
coderay-output 123.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.42s ( 104 Ktok/s).
tolkien 12.3K: incremental, shuffled, complete, identity, highlighting, finished in 0.03s ( 85 Ktok/s).
Finished in 2.98s.
.
>> Testing Java scanner <<
Random test - finished.
Loading examples in test/scanners/java/*.in.java...1 example found.
jruby 1854.9K: incremental, shuffled, complete, identity, highlighting, finished in 3.38s ( 128 Ktok/s).
Finished in 7.34s.
.
>> Testing JavaScript scanner <<
Random test - finished.
Loading examples in test/scanners/javascript/*.in.js...5 examples found.
prototype 126.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.40s ( 108 Ktok/s).
script.aculo.us 225.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.59s ( 125 Ktok/s).
sun-spider 916.0K: incremental, shuffled, complete, identity, highlighting, finished in 1.58s ( 127 Ktok/s).
trace-test 151.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.61s ( 91 Ktok/s).
xml 0.1K: incremental, shuffled, ticket ?, identity, highlighting, finished in 0.00s.
KNOWN ISSUE: JavaScript scanner is confused by nested XML literals.
No ticket yet. Visit http://redmine.rubychan.de/projects/coderay/issues/new.
Finished in 9.81s.
.
>> Testing JSON scanner <<
Random test - finished.
Loading examples in test/scanners/json/*.in.json...4 examples found.
big 9.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 315 Ktok/s).
big2 7.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 347 Ktok/s).
example 0.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
json-lib 1.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 327 Ktok/s).
Finished in 3.74s.
.
>> Testing Nitro XHTML scanner <<
Random test...E
>> Testing PHP scanner <<
Random test - finished.
Loading examples in test/scanners/php/*.in.php...8 examples found.
class 1.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 68 Ktok/s).
elvis 0.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
html+php_faulty 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
labels 0.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
namespaces 0.3K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
pleac 145.8K: incremental, shuffled, complete, identity, highlighting, finished in 0.63s ( 59 Ktok/s).
strings 9.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 139 Ktok/s).
test 16.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.03s ( 130 Ktok/s).
Finished in 7.14s.
.
>> Testing Python scanner <<
Random test - finished.
Loading examples in test/scanners/python/*.in.py...6 examples found.
import 1.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 158 Ktok/s).
literals 0.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
pleac 297.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.82s ( 98 Ktok/s).
pygments 953.6K: incremental, shuffled, complete, identity, highlighting, finished in 2.54s ( 119 Ktok/s).
python3 0.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
unistring 394.8K: incremental, shuffled, complete, identity, highlighting, finished in 0.43s ( 160 Ktok/s).
Finished in 12.44s.
.
>> Testing HTML ERB Template scanner <<
Random test...E
>> Testing Ruby scanner <<
Random test...E
>> Testing Scheme scanner <<
Random test - finished.
Loading examples in test/scanners/scheme/*.in.scm...2 examples found.
pleac 143.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.15s ( 246 Ktok/s).
strange 1.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 171 Ktok/s).
Finished in 3.40s.
.
>> Testing SQL scanner <<
Random test - finished.
Loading examples in test/scanners/sql/*.in.sql...4 examples found.
create_tables 3.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 204 Ktok/s).
maintenance 1.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s.
reference 2.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 140 Ktok/s).
selects 1.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 305 Ktok/s).
Finished in 3.23s.
.
>> Testing XML scanner <<
Random test - finished.
Loading examples in test/scanners/xml/*.in.xml...1 example found.
kate 3.9K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 382 Ktok/s).
Finished in 1.02s.
.
>> Testing YAML scanner <<
Random test - finished.
Loading examples in test/scanners/yaml/*.in.yml...8 examples found.
basic 24.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.04s ( 75 Ktok/s).
database 0.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
faq 16.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 124 Ktok/s).
gemspec 3.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 122 Ktok/s).
latex_entities 48.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.04s ( 249 Ktok/s).
multiline 0.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
threshold 22.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 235 Ktok/s).
website 3.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 168 Ktok/s).
Finished in 5.89s.
.
Finished in 97.094 seconds.
1) Error:
test_ALL(Nitro):
Java::JavaLang::ArrayIndexOutOfBoundsException: 1642
org.jcodings.AbstractEncoding.isCodeCTypeInternal(AbstractEncoding.java:50)
org.jcodings.specific.NonStrictUTF8Encoding.isCodeCType(Unknown Source)
org.jcodings.Encoding.isWord(Encoding.java:430)
org.jcodings.Encoding.isMbcWord(Encoding.java:435)
org.joni.ByteCodeMachine.opWord(Unknown Source)
org.joni.ByteCodeMachine.matchAt(Unknown Source)
org.joni.Matcher.match(Unknown Source)
org.jruby.RubyStringScanner.scan(RubyStringScanner.java:206)
org.jruby.RubyStringScanner.scan(RubyStringScanner.java:230)
org.jruby.RubyStringScanner$i_method_1_0$RUBYINVOKER$scan.call(org/jruby/RubyStringScanner$i_method_1_0$RUBYINVOKER$scan.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:146)
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
org.jruby.ast.IfNode.interpret(IfNode.java:111)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.IfNode.interpret(IfNode.java:117)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.UntilNode.interpret(UntilNode.java:120)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:221)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:188)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:329)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:188)
ruby.jit.tokenize_564290F64445FF76ED2A1DA18FC948950FD9D981.__file__(scanner.rb:173)
ruby.jit.tokenize_564290F64445FF76ED2A1DA18FC948950FD9D981.__file__(scanner.rb)
org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:39)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:153)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:146)
ruby.jit.scan_tokens_25A5363E16E842A06F136FB9E636EFB2C2A0EFC9.__file__(nitro_xhtml.rb:102)
ruby.jit.scan_tokens_25A5363E16E842A06F136FB9E636EFB2C2A0EFC9.__file__(nitro_xhtml.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:187)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:329)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:188)
ruby.jit.tokenize_564290F64445FF76ED2A1DA18FC948950FD9D981.__file__(scanner.rb:173)
ruby.jit.tokenize_564290F64445FF76ED2A1DA18FC948950FD9D981.__file__(scanner.rb)
org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:35)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:119)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:106)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199)
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
ruby.jit.each_6955C1C37B9B28E2D7956667FAFBECEEB2724A43.block_0$RUBY$__for__(coderay_suite.rb:77)
ruby.jit.each_6955C1C37B9B28E2D7956667FAFBECEEB2724A43BlockCallback$block_0$RUBY$__for__xx1.call(Unknown Source)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:115)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:98)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.RubyRange.fixnumEach(RubyRange.java:429)
org.jruby.RubyRange.each(RubyRange.java:402)
org.jruby.RubyRange$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyRange$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)
ruby.jit.each_6955C1C37B9B28E2D7956667FAFBECEEB2724A43.ensure_1$RUBY$__ensure___0(coderay_suite.rb:71)
ruby.jit.each_6955C1C37B9B28E2D7956667FAFBECEEB2724A43.__file__(coderay_suite.rb)
ruby.jit.each_6955C1C37B9B28E2D7956667FAFBECEEB2724A43.__file__(coderay_suite.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:136)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.ForNode.interpret(ForNode.java:109)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:221)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:188)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:329)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:188)
org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:294)
org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:228)
org.jruby.runtime.Block.yieldSpecific(Block.java:99)
ruby.jit.realtime_2D99A6514F91E83918872238C71F002C4DD388C1.__file__(benchmark.rb:308)
ruby.jit.realtime_2D99A6514F91E83918872238C71F002C4DD388C1.__file__(benchmark.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:136)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:167)
org.jruby.internal.runtime.methods.WrapperMethod.call(WrapperMethod.java:74)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:160)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:164)
org.jruby.RubyClass.finvoke(RubyClass.java:498)
org.jruby.RubyObject.send(RubyObject.java:1437)
org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send.call(org/jruby/RubyObject$i_method_multi$RUBYINVOKER$send.gen:65535)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199)
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:180)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:319)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:157)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)
org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.RubyArray.eachCommon(RubyArray.java:1630)
org.jruby.RubyArray.each(RubyArray.java:1637)
org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:180)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:319)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:157)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)
org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.RubyArray.eachCommon(RubyArray.java:1630)
org.jruby.RubyArray.each(RubyArray.java:1637)
org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:180)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:319)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:157)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)
org.jruby.ast.CallOneArgBlockNode.interpret(CallOneArgBlockNode.java:60)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:172)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
$_dot_.test.scanners.suite.__file__(suite.rb:4)
$_dot_.test.scanners.suite.load(suite.rb)
org.jruby.Ruby.runScript(Ruby.java:683)
org.jruby.Ruby.runNormally(Ruby.java:566)
org.jruby.Ruby.runFromMain(Ruby.java:412)
org.jruby.Main.run(Main.java:286)
org.jruby.Main.run(Main.java:128)
org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:136)
java.lang.Thread.run(Thread.java:637)
2) Error:
test_ALL(RHTML):
Java::JavaLang::ArrayIndexOutOfBoundsException:
3) Error:
test_ALL(Ruby):
Java::JavaLang::ArrayIndexOutOfBoundsException:
20 tests, 0 assertions, 0 failures, 3 errors
Testing with ruby19 -w -v
ruby19 -w ./test/functional/suite.rb
ruby19 -w ./test/functional/for_redcloth.rb
ruby19 -w ./test/scanners/suite.rb
Testing with jruby -w -v
jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-04-16 5e33934) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_17) [x86_64-java]
jruby -w ./test/functional/suite.rb
Running basic CodeRay 0.9.3 tests...
Loaded suite ./test/functional/suite
Started
.................
Finished in 0.249 seconds.
17 tests, 38 assertions, 0 failures, 0 errors
jruby -w ./test/functional/for_redcloth.rb
RedCloth not found - skipping for_redcloth tests.
Loaded suite ./test/functional/for_redcloth
Started
Finished in 0.001 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
jruby -w ./test/scanners/suite.rb
Loaded suite CodeRay::Scanners
Started
>> Testing C scanner <<
Random test - finished.
Loading examples in test/scanners/c/*.in.c...7 examples found.
elvis 0.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s.
empty 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
error 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
error2 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
open-string 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
ruby 2297.4K: incremental, shuffled, complete, identity, highlighting, finished in 3.87s ( 166 Ktok/s).
strange 3.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 232 Ktok/s).
Finished in 12.28s.
.
>> Testing C++ scanner <<
Random test - finished.
Loading examples in test/scanners/cpp/*.in.cpp...4 examples found.
elvis 0.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
eventmachine 180.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.12s ( 257 Ktok/s).
pleac 57.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.04s ( 249 Ktok/s).
wedekind 0.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
Finished in 3.69s.
.
>> Testing CSS scanner <<
Random test - finished.
Loading examples in test/scanners/css/*.in.css...5 examples found.
S5 7.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.02s ( 139 Ktok/s).
ignos-draconis 28.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.09s ( 94 Ktok/s).
redmine 22.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.04s ( 179 Ktok/s).
standard 0.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
yui 380.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.48s ( 212 Ktok/s).
Finished in 5.97s.
.
>> Testing CodeRay Token Dump scanner <<
Random test - finished.
Loading examples in test/scanners/debug/*.in.raydebug...2 examples found.
class 1.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 237 Ktok/s).
kate 8.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 191 Ktok/s).
Finished in 1.86s.
.
>> Testing Delphi scanner <<
Random test - finished.
Loading examples in test/scanners/delphi/*.in.pas...2 examples found.
pluto 278.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.75s ( 100 Ktok/s).
ytools 64.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.11s ( 209 Ktok/s).
Finished in 3.59s.
.
>> Testing diff output scanner <<
Random test - finished.
Loading examples in test/scanners/diff/*.in.diff...2 examples found.
coderay200vs250 66.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.06s ( 151 Ktok/s).
example 0.8K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
Finished in 1.03s.
.
>> Testing Groovy scanner <<
Random test - finished.
Loading examples in test/scanners/groovy/*.in.groovy...4 examples found.
pleac 381.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.66s ( 116 Ktok/s).
raistlin77 14.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.03s ( 137 Ktok/s).
strange 0.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
strings 1.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 130 Ktok/s).
Finished in 7.84s.
.
>> Testing HTML scanner <<
Random test - finished.
Loading examples in test/scanners/html/*.in.html...3 examples found.
ampersand 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
coderay-output 123.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.51s ( 87 Ktok/s).
tolkien 12.3K: incremental, shuffled, complete, identity, highlighting, finished in 0.15s ( 17 Ktok/s).
Finished in 3.16s.
.
>> Testing Java scanner <<
Random test - finished.
Loading examples in test/scanners/java/*.in.java...1 example found.
jruby 1854.9K: incremental, shuffled, complete, identity, highlighting, finished in 3.45s ( 125 Ktok/s).
Finished in 8.50s.
.
>> Testing JavaScript scanner <<
Random test - finished.
Loading examples in test/scanners/javascript/*.in.js...5 examples found.
prototype 126.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.48s ( 90 Ktok/s).
script.aculo.us 225.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.59s ( 125 Ktok/s).
sun-spider 916.0K: incremental, shuffled, complete, identity, highlighting, finished in 1.78s ( 112 Ktok/s).
trace-test 151.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.72s ( 77 Ktok/s).
xml 0.1K: incremental, shuffled, ticket ?, identity, highlighting, finished in 0.00s.
KNOWN ISSUE: JavaScript scanner is confused by nested XML literals.
No ticket yet. Visit http://redmine.rubychan.de/projects/coderay/issues/new.
Finished in 11.35s.
.
>> Testing JSON scanner <<
Random test - finished.
Loading examples in test/scanners/json/*.in.json...4 examples found.
big 9.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 355 Ktok/s).
big2 7.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 396 Ktok/s).
example 0.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
json-lib 1.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 654 Ktok/s).
Finished in 4.60s.
.
>> Testing Nitro XHTML scanner <<
Random test...E
>> Testing PHP scanner <<
Random test - finished.
Loading examples in test/scanners/php/*.in.php...8 examples found.
class 1.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 120 Ktok/s).
elvis 0.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
html+php_faulty 0.0K: incremental, -skipped- complete, identity, highlighting, finished in 0.00s.
labels 0.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
namespaces 0.3K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
pleac 145.8K: incremental, shuffled, complete, identity, highlighting, finished in 0.35s ( 105 Ktok/s).
strings 9.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 151 Ktok/s).
test 16.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.03s ( 136 Ktok/s).
Finished in 5.92s.
.
>> Testing Python scanner <<
Random test - finished.
Loading examples in test/scanners/python/*.in.py...6 examples found.
import 1.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( Inf Ktok/s).
literals 0.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
pleac 297.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.89s ( 90 Ktok/s).
pygments 953.6K: incremental, shuffled, complete, identity, highlighting, finished in 3.09s ( 98 Ktok/s).
python3 0.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
unistring 394.8K: incremental, shuffled, complete, identity, highlighting, finished in 0.42s ( 162 Ktok/s).
Finished in 13.45s.
.
>> Testing HTML ERB Template scanner <<
Random test...E
>> Testing Ruby scanner <<
Random test...E
>> Testing Scheme scanner <<
Random test - finished.
Loading examples in test/scanners/scheme/*.in.scm...2 examples found.
pleac 143.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.17s ( 221 Ktok/s).
strange 1.1K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 170 Ktok/s).
Finished in 3.48s.
.
>> Testing SQL scanner <<
Random test - finished.
Loading examples in test/scanners/sql/*.in.sql...4 examples found.
create_tables 3.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 204 Ktok/s).
maintenance 1.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
reference 2.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 374 Ktok/s).
selects 1.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 305 Ktok/s).
Finished in 2.77s.
.
>> Testing XML scanner <<
Random test - finished.
Loading examples in test/scanners/xml/*.in.xml...1 example found.
kate 3.9K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 254 Ktok/s).
Finished in 1.02s.
.
>> Testing YAML scanner <<
Random test - finished.
Loading examples in test/scanners/yaml/*.in.yml...8 examples found.
basic 24.5K: incremental, shuffled, complete, identity, highlighting, finished in 0.03s ( 100 Ktok/s).
database 0.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
faq 16.2K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 31 Ktok/s).
gemspec 3.0K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 97 Ktok/s).
latex_entities 48.4K: incremental, shuffled, complete, identity, highlighting, finished in 0.04s ( 287 Ktok/s).
multiline 0.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s.
threshold 22.6K: incremental, shuffled, complete, identity, highlighting, finished in 0.01s ( 185 Ktok/s).
website 3.7K: incremental, shuffled, complete, identity, highlighting, finished in 0.00s ( 168 Ktok/s).
Finished in 6.25s.
.
Finished in 97.041 seconds.
1) Error:
test_ALL(Nitro):
Java::JavaLang::ArrayIndexOutOfBoundsException:
2) Error:
test_ALL(RHTML):
Java::JavaLang::ArrayIndexOutOfBoundsException:
3) Error:
test_ALL(Ruby):
Java::JavaLang::ArrayIndexOutOfBoundsException:
20 tests, 0 assertions, 0 failures, 3 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment