|
Run options: "--ruby=./miniruby.exe -I../ruby/lib -I. -I.ext/common ../ruby/tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=../ruby/test/excludes --name=!/memory_leak/ -a -j2 --job-status=normal --show-skip --retry --subprocess-timeout-scale=1.5
|
|
|
|
# Running tests:
|
|
|
|
2 TestJIT#test_attr_reader = 2.53 s = F
|
|
2 TestJIT#test_catching_deep_exception = 1.54 s = F
|
|
2 TestJIT#test_clean_so = 1.61 s = F
|
|
2 TestJIT#test_compile_insn_adjuststack = 1.56 s = F
|
|
2 TestJIT#test_compile_insn_blockparam = 1.52 s = F
|
|
2 TestJIT#test_compile_insn_branchnil = 1.53 s = F
|
|
2 TestJIT#test_compile_insn_branchunless = 1.52 s = F
|
|
2 TestJIT#test_compile_insn_checkkeyword = 1.60 s = F
|
|
2 TestJIT#test_compile_insn_checkmatch_opt_case_dispatch = 1.58 s = F
|
|
2 TestJIT#test_compile_insn_checktype = 1.57 s = F
|
|
2 TestJIT#test_compile_insn_classvariable = 1.54 s = F
|
|
2 TestJIT#test_compile_insn_concatarray = 1.55 s = F
|
|
2 TestJIT#test_compile_insn_constant = 1.59 s = F
|
|
0 TestJIT#test_compile_insn_defineclass = 0.00 s = S
|
|
2 TestJIT#test_compile_insn_defined = 1.56 s = F
|
|
2 TestJIT#test_compile_insn_dup = 1.58 s = F
|
|
2 TestJIT#test_compile_insn_dupn = 1.59 s = F
|
|
2 TestJIT#test_compile_insn_expandarray = 1.64 s = F
|
|
2 TestJIT#test_compile_insn_freezestring = 1.63 s = F
|
|
0 TestJIT#test_compile_insn_getblockparamproxy = 0.00 s = S
|
|
2 TestJIT#test_compile_insn_getspecial = 1.53 s = F
|
|
2 TestJIT#test_compile_insn_global = 1.60 s = F
|
|
2 TestJIT#test_compile_insn_inlinecache = 1.61 s = F
|
|
2 TestJIT#test_compile_insn_instancevariable = 1.62 s = F
|
|
2 TestJIT#test_compile_insn_intern_duparray = 1.56 s = F
|
|
2 TestJIT#test_compile_insn_invokeblock_leave = 1.61 s = F
|
|
2 TestJIT#test_compile_insn_invokesuper = 1.52 s = F
|
|
2 TestJIT#test_compile_insn_jump_branchif = 1.51 s = F
|
|
2 TestJIT#test_compile_insn_local = 1.51 s = F
|
|
2 TestJIT#test_compile_insn_newarray = 1.54 s = F
|
|
2 TestJIT#test_compile_insn_newhash = 1.54 s = F
|
|
2 TestJIT#test_compile_insn_newrange = 1.53 s = F
|
|
2 TestJIT#test_compile_insn_nop = 1.52 s = F
|
|
2 TestJIT#test_compile_insn_once = 1.51 s = F
|
|
2 TestJIT#test_compile_insn_opt_aref = 1.53 s = F
|
|
2 TestJIT#test_compile_insn_opt_aref_with = 1.51 s = F
|
|
2 TestJIT#test_compile_insn_opt_aset = 1.49 s = F
|
|
2 TestJIT#test_compile_insn_opt_calc = 1.50 s = F
|
|
0 TestJIT#test_compile_insn_opt_call_c_function = 0.00 s = S
|
|
2 TestJIT#test_compile_insn_opt_cmp = 1.49 s = F
|
|
2 TestJIT#test_compile_insn_opt_empty_p = 1.53 s = F
|
|
2 TestJIT#test_compile_insn_opt_length_size = 1.49 s = F
|
|
2 TestJIT#test_compile_insn_opt_ltlt = 1.52 s = F
|
|
2 TestJIT#test_compile_insn_opt_newarray_max = 1.50 s = F
|
|
2 TestJIT#test_compile_insn_opt_newarray_min = 1.50 s = F
|
|
2 TestJIT#test_compile_insn_opt_not = 1.52 s = F
|
|
2 TestJIT#test_compile_insn_opt_regexpmatch1 = 1.57 s = F
|
|
2 TestJIT#test_compile_insn_opt_regexpmatch2 = 1.58 s = F
|
|
2 TestJIT#test_compile_insn_opt_rel = 1.57 s = F
|
|
2 TestJIT#test_compile_insn_opt_send_without_block = 1.53 s = F
|
|
2 TestJIT#test_compile_insn_opt_str_freeze = 1.56 s = F
|
|
2 TestJIT#test_compile_insn_opt_str_uminus = 1.50 s = F
|
|
2 TestJIT#test_compile_insn_opt_succ = 1.49 s = F
|
|
2 TestJIT#test_compile_insn_pop = 1.51 s = F
|
|
2 TestJIT#test_compile_insn_putnil = 1.53 s = F
|
|
2 TestJIT#test_compile_insn_putobject = 1.52 s = F
|
|
2 TestJIT#test_compile_insn_putself = 1.51 s = F
|
|
2 TestJIT#test_compile_insn_putspecialobject_putiseq = 1.52 s = F
|
|
2 TestJIT#test_compile_insn_putstring_concatstrings_tostring = 1.64 s = F
|
|
0 TestJIT#test_compile_insn_reput = 0.00 s = S
|
|
2 TestJIT#test_compile_insn_reverse = 1.62 s = F
|
|
2 TestJIT#test_compile_insn_send = 1.64 s = F
|
|
2 TestJIT#test_compile_insn_setn = 1.72 s = F
|
|
2 TestJIT#test_compile_insn_setspecial = 1.81 s = F
|
|
2 TestJIT#test_compile_insn_splatarray = 1.69 s = F
|
|
2 TestJIT#test_compile_insn_swap_topn = 1.56 s = F
|
|
2 TestJIT#test_compile_insn_throw = 1.64 s = F
|
|
2 TestJIT#test_compile_insn_toregexp = 1.82 s = F
|
|
0 TestJIT#test_compile_insn_tracecoverage = 0.00 s = S
|
|
4 TestJIT#test_jit_output = 1.64 s = F
|
|
2 TestJIT#test_lambda_longjmp = 1.65 s = F
|
|
2 TestJIT#test_local_stack_on_exception = 1.71 s = F
|
|
2 TestJIT#test_local_stack_with_sp_motion_by_blockargs = 1.68 s = F
|
|
|
|
Retrying...
|
|
[ 1/279] 2 TestJIT#test_attr_reader = 1.99 s = F
|
|
[ 2/279] 2 TestJIT#test_catching_deep_exception = 1.54 s = F
|
|
[ 3/279] 2 TestJIT#test_clean_so = 1.54 s = F
|
|
[ 4/279] 2 TestJIT#test_compile_insn_adjuststack = 1.52 s = F
|
|
[ 5/279] 2 TestJIT#test_compile_insn_blockparam = 1.58 s = F
|
|
[ 6/279] 2 TestJIT#test_compile_insn_branchnil = 1.54 s = F
|
|
[ 7/279] 2 TestJIT#test_compile_insn_branchunless = 1.56 s = F
|
|
[ 8/279] 2 TestJIT#test_compile_insn_checkkeyword = 1.57 s = F
|
|
[ 9/279] 2 TestJIT#test_compile_insn_checkmatch_opt_case_dispatch = 1.59 s = F
|
|
[ 10/279] 2 TestJIT#test_compile_insn_checktype = 1.59 s = F
|
|
[ 11/279] 2 TestJIT#test_compile_insn_classvariable = 1.57 s = F
|
|
[ 12/279] 2 TestJIT#test_compile_insn_concatarray = 1.63 s = F
|
|
[ 13/279] 2 TestJIT#test_compile_insn_constant = 1.59 s = F
|
|
[ 14/279] 0 TestJIT#test_compile_insn_defineclass = 0.00 s = S
|
|
[ 15/279] 2 TestJIT#test_compile_insn_defined = 1.61 s = F
|
|
[ 16/279] 2 TestJIT#test_compile_insn_dup = 1.57 s = F
|
|
[ 17/279] 2 TestJIT#test_compile_insn_dupn = 1.63 s = F
|
|
[ 18/279] 2 TestJIT#test_compile_insn_expandarray = 1.58 s = F
|
|
[ 19/279] 2 TestJIT#test_compile_insn_freezestring = 1.58 s = F
|
|
[ 20/279] 0 TestJIT#test_compile_insn_getblockparamproxy = 0.00 s = S
|
|
[ 21/279] 2 TestJIT#test_compile_insn_getspecial = 1.60 s = F
|
|
[ 22/279] 2 TestJIT#test_compile_insn_global = 1.54 s = F
|
|
[ 23/279] 2 TestJIT#test_compile_insn_inlinecache = 1.57 s = F
|
|
[ 24/279] 2 TestJIT#test_compile_insn_instancevariable = 1.61 s = F
|
|
[ 25/279] 2 TestJIT#test_compile_insn_intern_duparray = 1.60 s = F
|
|
[ 26/279] 2 TestJIT#test_compile_insn_invokeblock_leave = 1.64 s = F
|
|
[ 27/279] 2 TestJIT#test_compile_insn_invokesuper = 1.56 s = F
|
|
[ 28/279] 2 TestJIT#test_compile_insn_jump_branchif = 1.58 s = F
|
|
[ 29/279] 2 TestJIT#test_compile_insn_local = 1.51 s = F
|
|
[ 30/279] 2 TestJIT#test_compile_insn_newarray = 1.57 s = F
|
|
[ 31/279] 2 TestJIT#test_compile_insn_newhash = 1.54 s = F
|
|
[ 32/279] 2 TestJIT#test_compile_insn_newrange = 1.57 s = F
|
|
[ 33/279] 2 TestJIT#test_compile_insn_nop = 1.58 s = F
|
|
[ 34/279] 2 TestJIT#test_compile_insn_once = 1.57 s = F
|
|
[ 35/279] 2 TestJIT#test_compile_insn_opt_aref = 1.59 s = F
|
|
[ 36/279] 2 TestJIT#test_compile_insn_opt_aref_with = 1.59 s = F
|
|
[ 37/279] 2 TestJIT#test_compile_insn_opt_aset = 1.60 s = F
|
|
[ 38/279] 2 TestJIT#test_compile_insn_opt_calc = 1.59 s = F
|
|
[ 39/279] 0 TestJIT#test_compile_insn_opt_call_c_function = 0.00 s = S
|
|
[ 40/279] 2 TestJIT#test_compile_insn_opt_cmp = 1.56 s = F
|
|
[ 41/279] 2 TestJIT#test_compile_insn_opt_empty_p = 1.57 s = F
|
|
[ 42/279] 2 TestJIT#test_compile_insn_opt_length_size = 1.53 s = F
|
|
[ 43/279] 2 TestJIT#test_compile_insn_opt_ltlt = 1.54 s = F
|
|
[ 44/279] 2 TestJIT#test_compile_insn_opt_newarray_max = 1.52 s = F
|
|
[ 45/279] 2 TestJIT#test_compile_insn_opt_newarray_min = 1.57 s = F
|
|
[ 46/279] 2 TestJIT#test_compile_insn_opt_not = 1.53 s = F
|
|
[ 47/279] 2 TestJIT#test_compile_insn_opt_regexpmatch1 = 1.53 s = F
|
|
[ 48/279] 2 TestJIT#test_compile_insn_opt_regexpmatch2 = 1.60 s = F
|
|
[ 49/279] 2 TestJIT#test_compile_insn_opt_rel = 1.54 s = F
|
|
[ 50/279] 2 TestJIT#test_compile_insn_opt_send_without_block = 1.54 s = F
|
|
[ 51/279] 2 TestJIT#test_compile_insn_opt_str_freeze = 1.51 s = F
|
|
[ 52/279] 2 TestJIT#test_compile_insn_opt_str_uminus = 1.51 s = F
|
|
[ 53/279] 2 TestJIT#test_compile_insn_opt_succ = 1.52 s = F
|
|
[ 54/279] 2 TestJIT#test_compile_insn_pop = 1.52 s = F
|
|
[ 55/279] 2 TestJIT#test_compile_insn_putnil = 1.52 s = F
|
|
[ 56/279] 2 TestJIT#test_compile_insn_putobject = 1.53 s = F
|
|
[ 57/279] 2 TestJIT#test_compile_insn_putself = 1.51 s = F
|
|
[ 58/279] 2 TestJIT#test_compile_insn_putspecialobject_putiseq = 1.53 s = F
|
|
[ 59/279] 2 TestJIT#test_compile_insn_putstring_concatstrings_tostring = 1.53 s = F
|
|
[ 60/279] 0 TestJIT#test_compile_insn_reput = 0.00 s = S
|
|
[ 61/279] 2 TestJIT#test_compile_insn_reverse = 1.52 s = F
|
|
[ 62/279] 2 TestJIT#test_compile_insn_send = 1.57 s = F
|
|
[ 63/279] 2 TestJIT#test_compile_insn_setn = 1.54 s = F
|
|
[ 64/279] 2 TestJIT#test_compile_insn_setspecial = 1.53 s = F
|
|
[ 65/279] 2 TestJIT#test_compile_insn_splatarray = 1.54 s = F
|
|
[ 66/279] 2 TestJIT#test_compile_insn_swap_topn = 1.54 s = F
|
|
[ 67/279] 2 TestJIT#test_compile_insn_throw = 1.57 s = F
|
|
[ 68/279] 2 TestJIT#test_compile_insn_toregexp = 1.57 s = F
|
|
[ 69/279] 0 TestJIT#test_compile_insn_tracecoverage = 0.00 s = S
|
|
[ 70/279] 4 TestJIT#test_jit_output = 1.55 s = F
|
|
[ 71/279] 2 TestJIT#test_lambda_longjmp = 1.55 s = F
|
|
[ 72/279] 2 TestJIT#test_local_stack_on_exception = 1.53 s = F
|
|
[ 73/279] 2 TestJIT#test_local_stack_with_sp_motion_by_blockargs = 1.55 s = F
|
|
|
|
1) Skipped:
|
|
TestIO#test_puts_parallel [C:/projects/ruby-loco/src/ruby/test/ruby/test_io.rb:2512]:
|
|
not portable
|
|
|
|
2) Skipped:
|
|
TestJIT#test_compile_insn_tracecoverage [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:286]:
|
|
write test
|
|
|
|
3) Skipped:
|
|
TestJIT#test_compile_insn_reput [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:255]:
|
|
write test
|
|
|
|
4) Skipped:
|
|
TestJIT#test_compile_insn_opt_call_c_function [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:522]:
|
|
support this in opt_call_c_function (low priority)
|
|
|
|
5) Skipped:
|
|
TestIO#test_copy_stream_rbuf [C:/projects/ruby-loco/src/ruby/test/ruby/test_io.rb:742]:
|
|
pread(2) is not implemtented.
|
|
|
|
6) Skipped:
|
|
TestJIT#test_compile_insn_getblockparamproxy [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:89]:
|
|
support this in mjit_compile
|
|
|
|
7) Skipped:
|
|
TestJIT#test_compile_insn_defineclass [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:290]:
|
|
support this in mjit_compile (low priority)
|
|
|
|
8) Failure:
|
|
TestJIT#test_compile_insn_checkkeyword [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:276]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
def test(x: rand)
|
|
x
|
|
end
|
|
print test(x: true)
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[33632] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
9) Failure:
|
|
TestJIT#test_compile_insn_checkmatch_opt_case_dispatch [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:426]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
case 'hello'
|
|
when 'hello'
|
|
'world'
|
|
end
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[24780] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
10) Failure:
|
|
TestJIT#test_compile_insn_checktype [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:410]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a = '2'
|
|
"4#{a}"
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[12768] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
11) Failure:
|
|
TestJIT#test_compile_insn_classvariable [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:115]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
class Foo
|
|
def self.foo
|
|
@@foo = 1
|
|
@@foo
|
|
end
|
|
end
|
|
|
|
print Foo.foo
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[33032] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
12) Failure:
|
|
TestJIT#test_compile_insn_concatarray [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:206]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { ["t", "r", *x = "u", "e"].join }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[34292] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
13) Failure:
|
|
TestJIT#test_compile_insn_constant [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:129]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
FOO = 1
|
|
FOO
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[28420] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
14) Failure:
|
|
TestJIT#test_compile_insn_branchunless [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:390]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a = true
|
|
if a
|
|
1
|
|
else
|
|
2
|
|
end
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[33312] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
15) Failure:
|
|
TestJIT#test_compile_insn_defined [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:272]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { defined?(a) }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[28220] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
16) Failure:
|
|
TestJIT#test_compile_insn_dup [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:231]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a = 1
|
|
a&.+(2)
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[27772] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
17) Failure:
|
|
TestJIT#test_compile_insn_dupn [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:239]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
klass = Class.new
|
|
klass::X ||= true
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[34804] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
18) Failure:
|
|
TestJIT#test_compile_insn_expandarray [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:202]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { y = [ true, false, nil ]; x, = y; x }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[1964] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
19) Failure:
|
|
TestJIT#test_compile_insn_freezestring [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:178]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
# frozen_string_literal: true
|
|
print proc { "#{true}".frozen? }.call
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[26596] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
20) Failure:
|
|
TestJIT#test_compile_insn_branchnil [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:402]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a = 2
|
|
a&.+(1)
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[24612] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
21) Failure:
|
|
TestJIT#test_compile_insn_getspecial [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:93]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { $1 }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[4564] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
22) Failure:
|
|
TestJIT#test_compile_insn_global [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:137]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
$foo = 1
|
|
$foo
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[25400] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
23) Failure:
|
|
TestJIT#test_compile_insn_inlinecache [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:418]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { Struct }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[33352] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
24) Failure:
|
|
TestJIT#test_compile_insn_instancevariable [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:107]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
@foo = 1
|
|
@foo
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[33592] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
25) Failure:
|
|
TestJIT#test_compile_insn_intern_duparray [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:198]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { [:"#{0}"] + [1,2,3] }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[25256] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
26) Failure:
|
|
TestJIT#test_compile_insn_invokeblock_leave [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:355]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
def foo
|
|
yield
|
|
end
|
|
print foo { 2 }
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[33784] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
27) Failure:
|
|
TestJIT#test_compile_insn_invokesuper [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:337]:
|
|
Expected 4 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
mod = Module.new {
|
|
def test
|
|
super + 2
|
|
end
|
|
}
|
|
klass = Class.new {
|
|
prepend mod
|
|
def test
|
|
1
|
|
end
|
|
}
|
|
print klass.new.test
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[34116] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<4> expected but was
|
|
<0>.
|
|
|
|
28) Failure:
|
|
TestJIT#test_compile_insn_jump_branchif [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:382]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a = false
|
|
1 + 1 while a
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[34392] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
29) Failure:
|
|
TestJIT#test_compile_insn_local [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:51]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
foo = 1
|
|
foo
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[34472] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
30) Failure:
|
|
TestJIT#test_compile_insn_newarray [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:190]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a, b, c = 1, 2, 3
|
|
[a, b, c]
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[11200] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
31) Failure:
|
|
TestJIT#test_compile_insn_newhash [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:214]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { a = 1; { a: a } }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[34744] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
32) Failure:
|
|
TestJIT#test_compile_insn_newrange [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:218]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { a = 1; 0..a }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[22660] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
33) Failure:
|
|
TestJIT#test_compile_insn_nop [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:47]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { nil rescue true }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[32944] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
34) Failure:
|
|
TestJIT#test_compile_insn_once [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:422]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { /#{true}/o =~ "true" && $~.to_a }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[22072] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
35) Failure:
|
|
TestJIT#test_compile_insn_opt_aref [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:454]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
obj = Object.new
|
|
def obj.[](h)
|
|
h
|
|
end
|
|
|
|
block = proc { |h| h[1] }
|
|
print block.call({ 1 => 2 })
|
|
print block.call(obj)
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[23768] waitpid(376): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
36) Failure:
|
|
TestJIT#test_compile_insn_opt_aref_with [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:482]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { { '1' => 2 }['1'] }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[23544] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
37) Failure:
|
|
TestJIT#test_compile_insn_opt_aset [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:486]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
hash = { '1' => 2 }
|
|
(hash['2'] = 2) + (hash[1.to_s] = 3)
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[23408] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
38) Failure:
|
|
TestJIT#test_compile_insn_blockparam [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:76]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
def foo(&b)
|
|
a = b
|
|
b = 2
|
|
a.call + 2
|
|
end
|
|
|
|
print foo { 1 }
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[32508] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
39) Failure:
|
|
TestJIT#test_compile_insn_adjuststack [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:263]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
x = [true]
|
|
x[0] ||= nil
|
|
x[0]
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[2096] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
40) Failure:
|
|
TestJIT#test_compile_insn_opt_cmp [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:441]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { (1 == 1) && (1 != 2) }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[8920] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
41) Failure:
|
|
TestJIT#test_compile_insn_opt_empty_p [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:502]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { [].empty? }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[2032] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
42) Failure:
|
|
TestJIT#test_compile_insn_opt_length_size [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:494]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
array = [1, 2]
|
|
array.length + array.size
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[23444] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
43) Failure:
|
|
TestJIT#test_compile_insn_opt_ltlt [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:449]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { [1] << 2 }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[23460] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
44) Failure:
|
|
TestJIT#test_compile_insn_opt_newarray_max [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:315]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a = 1
|
|
b = 2
|
|
[a, b].max
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[23964] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
45) Failure:
|
|
TestJIT#test_compile_insn_opt_newarray_min [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:324]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a = 1
|
|
b = 2
|
|
[a, b].min
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[10928] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
46) Failure:
|
|
TestJIT#test_compile_insn_opt_not [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:510]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { !!true }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[11504] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
47) Failure:
|
|
TestJIT#test_compile_insn_opt_regexpmatch1 [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:514]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { /true/ =~ 'true' }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[17756] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
48) Failure:
|
|
TestJIT#test_compile_insn_opt_regexpmatch2 [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:518]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { 'true' =~ /true/ }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[3960] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
MJIT warning: timed out to wait for JIT finish
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
49) Failure:
|
|
TestJIT#test_compile_insn_opt_rel [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:445]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { 1 < 2 && 1 <= 1 && 2 > 1 && 1 >= 1 }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[8900] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
50) Failure:
|
|
TestJIT#test_compile_insn_opt_send_without_block [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:333]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { print }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[20812] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
51) Failure:
|
|
TestJIT#test_compile_insn_opt_str_freeze [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:301]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
'foo'.freeze
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[20676] waitpid(360): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
52) Failure:
|
|
TestJIT#test_compile_insn_opt_str_uminus [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:308]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
-'bar'
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[11268] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
53) Failure:
|
|
TestJIT#test_compile_insn_opt_succ [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:506]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { 1.succ }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[2792] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
54) Failure:
|
|
TestJIT#test_compile_insn_pop [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:222]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
a = false
|
|
b = 1
|
|
a || b
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[11208] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
55) Failure:
|
|
TestJIT#test_compile_insn_putnil [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:145]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { nil }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[11372] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
56) Failure:
|
|
TestJIT#test_compile_insn_putobject [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:156]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { 0 }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[10704] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
57) Failure:
|
|
TestJIT#test_compile_insn_putself [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:149]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
proc { print "hello" }.call
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[3488] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
58) Failure:
|
|
TestJIT#test_compile_insn_putspecialobject_putiseq [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:162]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
print proc {
|
|
def method_definition
|
|
'hello'
|
|
end
|
|
method_definition
|
|
}.call
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[10660] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
59) Failure:
|
|
TestJIT#test_compile_insn_putstring_concatstrings_tostring [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:174]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { "a#{}b" + "c" }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[1148] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
60) Failure:
|
|
TestJIT#test_clean_so [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:661]:
|
|
Expected Dir.empty?("C:/Users/appveyor/AppData/Local/Temp/1/jit_test_clean_so_20180630-3236-1mudfn7") to return true.
|
|
|
|
61) Failure:
|
|
TestJIT#test_compile_insn_reverse [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:251]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { q, (w, e), r = 1, [2, 3], 4; [q, w, e, r] }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[21648] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
62) Failure:
|
|
TestJIT#test_compile_insn_send [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:294]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
print proc { yield_self { 1 } }.call
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[3964] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
63) Failure:
|
|
TestJIT#test_compile_insn_setn [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:259]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { [nil][0] = 1 }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[3924] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
64) Failure:
|
|
TestJIT#test_compile_insn_setspecial [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:98]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc {
|
|
true if nil.nil?..nil.nil?
|
|
}.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[7444] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
-e:2: warning: flip-flop is deprecated
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
65) Failure:
|
|
TestJIT#test_compile_insn_splatarray [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:210]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { [*(1..2)] }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[2080] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
66) Failure:
|
|
TestJIT#test_compile_insn_swap_topn [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:247]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { {}["true"] = true }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[19632] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
67) Failure:
|
|
TestJIT#test_compile_insn_throw [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:365]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
def test
|
|
proc do
|
|
if 1+1 == 1
|
|
return 3
|
|
else
|
|
return 4
|
|
end
|
|
5
|
|
end.call
|
|
end
|
|
print test
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[7164] waitpid(376): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
68) Failure:
|
|
TestJIT#test_compile_insn_toregexp [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:186]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { /#{true}/ =~ "true" }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[7448] waitpid(372): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
69) Failure:
|
|
TestJIT#test_catching_deep_exception [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:573]:
|
|
Expected 4 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
def catch_true(paths, prefixes) # catch_except_p: TRUE
|
|
prefixes.each do |prefix| # catch_except_p: TRUE
|
|
paths.each do |path| # catch_except_p: FALSE
|
|
return path
|
|
end
|
|
end
|
|
end
|
|
|
|
def wrapper(paths, prefixes)
|
|
catch_true(paths, prefixes)
|
|
end
|
|
|
|
print wrapper(['1'], ['2'])
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[3408] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<4> expected but was
|
|
<0>.
|
|
|
|
70) Failure:
|
|
TestJIT#test_jit_output [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:528]:
|
|
Expected /^JIT success \(\d+\.\dms\): block in <main>@-e:1 -> .+_ruby_mjit_p\d+u\d+\.c$/ to match "[8532] waitpid(364): No child processes\n" +
|
|
"MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...\n".
|
|
|
|
71) Failure:
|
|
TestJIT#test_lambda_longjmp [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:668]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
fib = lambda do |x|
|
|
return x if x == 0 || x == 1
|
|
fib.call(x-1) + fib.call(x-2)
|
|
end
|
|
print fib.call(5)
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[11892] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
72) Failure:
|
|
TestJIT#test_local_stack_on_exception [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:533]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
def b
|
|
raise
|
|
rescue
|
|
2
|
|
end
|
|
|
|
def a
|
|
# Calling #b should be vm_exec, not direct mjit_exec.
|
|
# Otherwise `1` on local variable would be purged.
|
|
1 + b
|
|
end
|
|
|
|
print a
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[22320] waitpid(24): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
73) Failure:
|
|
TestJIT#test_local_stack_with_sp_motion_by_blockargs [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:552]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
def b(base)
|
|
1
|
|
end
|
|
|
|
# This method is simple enough to have false in catch_except_p.
|
|
# So local_stack_p would be true in JIT compiler.
|
|
def a
|
|
m = method(:b)
|
|
|
|
# ci->flag has VM_CALL_ARGS_BLOCKARG and cfp->sp is moved in vm_caller_setup_arg_block.
|
|
# So, for this send insn, JIT-ed code should use cfp->sp instead of local variables for stack.
|
|
Module.module_eval(&m)
|
|
end
|
|
|
|
print a
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[8580] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
74) Failure:
|
|
TestJIT#test_compile_insn_opt_calc [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:436]:
|
|
Expected 1 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
p proc { 4 + 2 - ((2 * 3 / 2) % 2) }.call
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[22824] waitpid(368): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
75) Failure:
|
|
TestJIT#test_attr_reader [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:592]:
|
|
Expected 2 times of JIT success, but succeeded 0 times.
|
|
|
|
script:
|
|
```
|
|
|
|
class A
|
|
attr_reader :a, :b
|
|
|
|
def initialize
|
|
@a = 2
|
|
end
|
|
|
|
def test
|
|
a
|
|
end
|
|
|
|
def undefined
|
|
b
|
|
end
|
|
end
|
|
|
|
a = A.new
|
|
print(a.test * a.test)
|
|
p(a.undefined)
|
|
p(a.undefined)
|
|
|
|
# redefinition
|
|
class A
|
|
def test
|
|
3
|
|
end
|
|
end
|
|
|
|
print(2 * a.test)
|
|
|
|
```
|
|
|
|
|
|
stderr:
|
|
```
|
|
[22644] waitpid(364): No child processes
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
|
|
|
|
|
|
Finished tests in 810.393332s, 23.8674 tests/s, 2763.5247 assertions/s.
|
|
19342 tests, 2239542 assertions, 68 failures, 0 errors, 109 skips
|
|
|
|
ruby -v: ruby 2.6.0dev (2018-06-30 trunk 63794) [x64-mingw32]
|
|
make: *** [uncommon.mk:737: yes-test-all] Error 68
|