|
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.16 s = F
|
|
2 TestJIT#test_catching_deep_exception = 1.53 s = F
|
|
2 TestJIT#test_clean_so = 1.49 s = F
|
|
2 TestJIT#test_compile_insn_adjuststack = 1.48 s = F
|
|
2 TestJIT#test_compile_insn_blockparam = 1.37 s = F
|
|
2 TestJIT#test_compile_insn_branchnil = 1.44 s = F
|
|
2 TestJIT#test_compile_insn_branchunless = 1.41 s = F
|
|
2 TestJIT#test_compile_insn_checkkeyword = 1.37 s = F
|
|
2 TestJIT#test_compile_insn_checkmatch_opt_case_dispatch = 1.35 s = F
|
|
2 TestJIT#test_compile_insn_checktype = 1.41 s = F
|
|
2 TestJIT#test_compile_insn_classvariable = 1.42 s = F
|
|
2 TestJIT#test_compile_insn_concatarray = 1.42 s = F
|
|
2 TestJIT#test_compile_insn_constant = 1.37 s = F
|
|
0 TestJIT#test_compile_insn_defineclass = 0.00 s = S
|
|
2 TestJIT#test_compile_insn_defined = 1.51 s = F
|
|
2 TestJIT#test_compile_insn_dup = 1.44 s = F
|
|
2 TestJIT#test_compile_insn_dupn = 1.50 s = F
|
|
2 TestJIT#test_compile_insn_expandarray = 1.44 s = F
|
|
2 TestJIT#test_compile_insn_freezestring = 1.45 s = F
|
|
0 TestJIT#test_compile_insn_getblockparamproxy = 0.00 s = S
|
|
2 TestJIT#test_compile_insn_getspecial = 1.43 s = F
|
|
2 TestJIT#test_compile_insn_global = 1.42 s = F
|
|
2 TestJIT#test_compile_insn_inlinecache = 1.36 s = F
|
|
2 TestJIT#test_compile_insn_instancevariable = 1.48 s = F
|
|
2 TestJIT#test_compile_insn_intern_duparray = 1.47 s = F
|
|
2 TestJIT#test_compile_insn_invokeblock_leave = 1.50 s = F
|
|
2 TestJIT#test_compile_insn_invokesuper = 1.48 s = F
|
|
2 TestJIT#test_compile_insn_jump_branchif = 1.42 s = F
|
|
2 TestJIT#test_compile_insn_local = 1.46 s = F
|
|
2 TestJIT#test_compile_insn_newarray = 1.38 s = F
|
|
2 TestJIT#test_compile_insn_newhash = 1.38 s = F
|
|
2 TestJIT#test_compile_insn_newrange = 1.44 s = F
|
|
2 TestJIT#test_compile_insn_nop = 1.38 s = F
|
|
2 TestJIT#test_compile_insn_once = 1.39 s = F
|
|
2 TestJIT#test_compile_insn_opt_aref = 1.39 s = F
|
|
2 TestJIT#test_compile_insn_opt_aref_with = 1.42 s = F
|
|
2 TestJIT#test_compile_insn_opt_aset = 1.33 s = F
|
|
2 TestJIT#test_compile_insn_opt_calc = 1.38 s = F
|
|
0 TestJIT#test_compile_insn_opt_call_c_function = 0.00 s = S
|
|
2 TestJIT#test_compile_insn_opt_cmp = 1.33 s = F
|
|
2 TestJIT#test_compile_insn_opt_empty_p = 1.37 s = F
|
|
2 TestJIT#test_compile_insn_opt_length_size = 1.34 s = F
|
|
2 TestJIT#test_compile_insn_opt_ltlt = 1.35 s = F
|
|
2 TestJIT#test_compile_insn_opt_newarray_max = 1.30 s = F
|
|
2 TestJIT#test_compile_insn_opt_newarray_min = 1.27 s = F
|
|
2 TestJIT#test_compile_insn_opt_not = 1.28 s = F
|
|
2 TestJIT#test_compile_insn_opt_regexpmatch1 = 1.30 s = F
|
|
2 TestJIT#test_compile_insn_opt_regexpmatch2 = 1.29 s = F
|
|
2 TestJIT#test_compile_insn_opt_rel = 1.32 s = F
|
|
2 TestJIT#test_compile_insn_opt_send_without_block = 1.24 s = F
|
|
2 TestJIT#test_compile_insn_opt_str_freeze = 1.30 s = F
|
|
2 TestJIT#test_compile_insn_opt_str_uminus = 1.31 s = F
|
|
2 TestJIT#test_compile_insn_opt_succ = 1.33 s = F
|
|
2 TestJIT#test_compile_insn_pop = 1.31 s = F
|
|
2 TestJIT#test_compile_insn_putnil = 1.34 s = F
|
|
2 TestJIT#test_compile_insn_putobject = 1.33 s = F
|
|
2 TestJIT#test_compile_insn_putself = 1.37 s = F
|
|
2 TestJIT#test_compile_insn_putspecialobject_putiseq = 1.38 s = F
|
|
2 TestJIT#test_compile_insn_putstring_concatstrings_tostring = 1.38 s = F
|
|
0 TestJIT#test_compile_insn_reput = 0.00 s = S
|
|
2 TestJIT#test_compile_insn_reverse = 1.34 s = F
|
|
2 TestJIT#test_compile_insn_send = 1.40 s = F
|
|
2 TestJIT#test_compile_insn_setn = 1.39 s = F
|
|
2 TestJIT#test_compile_insn_setspecial = 1.42 s = F
|
|
2 TestJIT#test_compile_insn_splatarray = 1.43 s = F
|
|
2 TestJIT#test_compile_insn_swap_topn = 1.47 s = F
|
|
2 TestJIT#test_compile_insn_throw = 1.48 s = F
|
|
2 TestJIT#test_compile_insn_toregexp = 1.60 s = F
|
|
0 TestJIT#test_compile_insn_tracecoverage = 0.00 s = S
|
|
4 TestJIT#test_jit_output = 1.52 s = F
|
|
2 TestJIT#test_lambda_longjmp = 1.49 s = F
|
|
2 TestJIT#test_local_stack_on_exception = 1.59 s = F
|
|
2 TestJIT#test_local_stack_with_sp_motion_by_blockargs = 1.52 s = F
|
|
|
|
Retrying...
|
|
[ 1/73] 2 TestJIT#test_attr_reader = 1.44 s = F
|
|
[ 2/73] 2 TestJIT#test_catching_deep_exception = 1.54 s = F
|
|
[ 3/73] 2 TestJIT#test_clean_so = 1.57 s = F
|
|
[ 4/73] 2 TestJIT#test_compile_insn_adjuststack = 1.45 s = F
|
|
[ 5/73] 2 TestJIT#test_compile_insn_blockparam = 1.48 s = F
|
|
[ 6/73] 2 TestJIT#test_compile_insn_branchnil = 1.46 s = F
|
|
[ 7/73] 2 TestJIT#test_compile_insn_branchunless = 1.47 s = F
|
|
[ 8/73] 2 TestJIT#test_compile_insn_checkkeyword = 1.47 s = F
|
|
[ 9/73] 2 TestJIT#test_compile_insn_checkmatch_opt_case_dispatch = 1.47 s = F
|
|
[10/73] 2 TestJIT#test_compile_insn_checktype = 1.50 s = F
|
|
[11/73] 2 TestJIT#test_compile_insn_classvariable = 1.51 s = F
|
|
[12/73] 2 TestJIT#test_compile_insn_concatarray = 1.44 s = F
|
|
[13/73] 2 TestJIT#test_compile_insn_constant = 1.53 s = F
|
|
[14/73] 0 TestJIT#test_compile_insn_defineclass = 0.00 s = S
|
|
[15/73] 2 TestJIT#test_compile_insn_defined = 1.47 s = F
|
|
[16/73] 2 TestJIT#test_compile_insn_dup = 1.51 s = F
|
|
[17/73] 2 TestJIT#test_compile_insn_dupn = 1.43 s = F
|
|
[18/73] 2 TestJIT#test_compile_insn_expandarray = 1.49 s = F
|
|
[19/73] 2 TestJIT#test_compile_insn_freezestring = 1.46 s = F
|
|
[20/73] 0 TestJIT#test_compile_insn_getblockparamproxy = 0.00 s = S
|
|
[21/73] 2 TestJIT#test_compile_insn_getspecial = 1.46 s = F
|
|
[22/73] 2 TestJIT#test_compile_insn_global = 1.45 s = F
|
|
[23/73] 2 TestJIT#test_compile_insn_inlinecache = 1.51 s = F
|
|
[24/73] 2 TestJIT#test_compile_insn_instancevariable = 1.46 s = F
|
|
[25/73] 2 TestJIT#test_compile_insn_intern_duparray = 1.43 s = F
|
|
[26/73] 2 TestJIT#test_compile_insn_invokeblock_leave = 1.44 s = F
|
|
[27/73] 2 TestJIT#test_compile_insn_invokesuper = 1.48 s = F
|
|
[28/73] 2 TestJIT#test_compile_insn_jump_branchif = 1.45 s = F
|
|
[29/73] 2 TestJIT#test_compile_insn_local = 1.46 s = F
|
|
[30/73] 2 TestJIT#test_compile_insn_newarray = 1.51 s = F
|
|
[31/73] 2 TestJIT#test_compile_insn_newhash = 1.52 s = F
|
|
[32/73] 2 TestJIT#test_compile_insn_newrange = 1.52 s = F
|
|
[33/73] 2 TestJIT#test_compile_insn_nop = 1.51 s = F
|
|
[34/73] 2 TestJIT#test_compile_insn_once = 1.46 s = F
|
|
[35/73] 2 TestJIT#test_compile_insn_opt_aref = 1.47 s = F
|
|
[36/73] 2 TestJIT#test_compile_insn_opt_aref_with = 1.50 s = F
|
|
[37/73] 2 TestJIT#test_compile_insn_opt_aset = 1.47 s = F
|
|
[38/73] 2 TestJIT#test_compile_insn_opt_calc = 1.49 s = F
|
|
[39/73] 0 TestJIT#test_compile_insn_opt_call_c_function = 0.00 s = S
|
|
[40/73] 2 TestJIT#test_compile_insn_opt_cmp = 1.51 s = F
|
|
[41/73] 2 TestJIT#test_compile_insn_opt_empty_p = 1.51 s = F
|
|
[42/73] 2 TestJIT#test_compile_insn_opt_length_size = 1.54 s = F
|
|
[43/73] 2 TestJIT#test_compile_insn_opt_ltlt = 1.54 s = F
|
|
[44/73] 2 TestJIT#test_compile_insn_opt_newarray_max = 1.53 s = F
|
|
[45/73] 2 TestJIT#test_compile_insn_opt_newarray_min = 1.49 s = F
|
|
[46/73] 2 TestJIT#test_compile_insn_opt_not = 1.49 s = F
|
|
[47/73] 2 TestJIT#test_compile_insn_opt_regexpmatch1 = 1.51 s = F
|
|
[48/73] 2 TestJIT#test_compile_insn_opt_regexpmatch2 = 1.55 s = F
|
|
[49/73] 2 TestJIT#test_compile_insn_opt_rel = 1.51 s = F
|
|
[50/73] 2 TestJIT#test_compile_insn_opt_send_without_block = 1.54 s = F
|
|
[51/73] 2 TestJIT#test_compile_insn_opt_str_freeze = 1.49 s = F
|
|
[52/73] 2 TestJIT#test_compile_insn_opt_str_uminus = 1.47 s = F
|
|
[53/73] 2 TestJIT#test_compile_insn_opt_succ = 1.45 s = F
|
|
[54/73] 2 TestJIT#test_compile_insn_pop = 1.49 s = F
|
|
[55/73] 2 TestJIT#test_compile_insn_putnil = 1.49 s = F
|
|
[56/73] 2 TestJIT#test_compile_insn_putobject = 1.47 s = F
|
|
[57/73] 2 TestJIT#test_compile_insn_putself = 1.47 s = F
|
|
[58/73] 2 TestJIT#test_compile_insn_putspecialobject_putiseq = 1.48 s = F
|
|
[59/73] 2 TestJIT#test_compile_insn_putstring_concatstrings_tostring = 1.46 s = F
|
|
[60/73] 0 TestJIT#test_compile_insn_reput = 0.00 s = S
|
|
[61/73] 2 TestJIT#test_compile_insn_reverse = 1.50 s = F
|
|
[62/73] 2 TestJIT#test_compile_insn_send = 1.47 s = F
|
|
[63/73] 2 TestJIT#test_compile_insn_setn = 1.49 s = F
|
|
[64/73] 2 TestJIT#test_compile_insn_setspecial = 1.45 s = F
|
|
[65/73] 2 TestJIT#test_compile_insn_splatarray = 1.45 s = F
|
|
[66/73] 2 TestJIT#test_compile_insn_swap_topn = 1.51 s = F
|
|
[67/73] 2 TestJIT#test_compile_insn_throw = 1.51 s = F
|
|
[68/73] 2 TestJIT#test_compile_insn_toregexp = 1.51 s = F
|
|
[69/73] 0 TestJIT#test_compile_insn_tracecoverage = 0.00 s = S
|
|
[70/73] 4 TestJIT#test_jit_output = 1.50 s = F
|
|
[71/73] 2 TestJIT#test_lambda_longjmp = 1.46 s = F
|
|
[72/73] 2 TestJIT#test_local_stack_on_exception = 1.42 s = F
|
|
[73/73] 2 TestJIT#test_local_stack_with_sp_motion_by_blockargs = 1.42 s = F
|
|
|
|
1) Skipped:
|
|
TestJIT#test_compile_insn_tracecoverage [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:286]:
|
|
write test
|
|
|
|
2) 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)
|
|
|
|
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_getblockparamproxy [C:/projects/ruby-loco/src/ruby/test/ruby/test_jit.rb:89]:
|
|
support this in mjit_compile
|
|
|
|
5) 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)
|
|
|
|
6) 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:
|
|
```
|
|
[3216] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
7) 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:
|
|
```
|
|
[14400] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
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:
|
|
```
|
|
[21248] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[14756] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[13652] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[5076] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[30744] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[14988] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
14) 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:
|
|
```
|
|
[14076] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> 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:
|
|
```
|
|
[40440] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[32292] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[23900] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[29064] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[41308] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
20) 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:
|
|
```
|
|
[36672] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[21604] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[33356] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[32424] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[26448] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[7784] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[27840] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[15724] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[22936] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[16164] waitpid(376): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[17876] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
31) 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-2100-1xxq1z6") to return true.
|
|
|
|
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:
|
|
```
|
|
[12832] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[33120] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[23416] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[13092] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[31428] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[41860] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
38) 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:
|
|
```
|
|
[25032] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
39) 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:
|
|
```
|
|
[30104] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<4> 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:
|
|
```
|
|
[8340] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[21488] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[15024] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[32244] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[12036] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[10268] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[13068] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[16444] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[19580] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<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:
|
|
```
|
|
[37668] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[10396] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[14944] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[35516] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[12428] waitpid(368): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[19088] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[11136] waitpid(360): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[28800] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[4816] waitpid(360): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[25344] waitpid(376): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[12116] waitpid(360): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
60) 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:
|
|
```
|
|
[2732] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
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:
|
|
```
|
|
[36944] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[4660] waitpid(376): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[5520] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[10428] waitpid(364): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[8104] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[33396] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[260] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[4964] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<1> expected but was
|
|
<0>.
|
|
|
|
69) 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:
|
|
```
|
|
[22052] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> 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 "[9596] waitpid(372): No child processes (SIGCHLD=0,1)\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:
|
|
```
|
|
[6968] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[36952] waitpid(372): No child processes (SIGCHLD=0,1)
|
|
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:
|
|
```
|
|
[34852] waitpid(368): No child processes (SIGCHLD=0,1)
|
|
MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker...
|
|
|
|
```
|
|
|
|
.
|
|
<2> expected but was
|
|
<0>.
|
|
|
|
|
|
Finished tests in 715.360471s, 27.0381 tests/s, 3130.2177 assertions/s.
|
|
19342 tests, 2239234 assertions, 68 failures, 0 errors, 107 skips
|
|
|
|
ruby -v: ruby 2.6.0dev (2018-06-30 trunk 63796) [x64-mingw32]
|
|
make: *** [uncommon.mk:737: yes-test-all] Error 68
|