"perl6 --test -r" runs (i.e. executes inside imcc) _all_ perl6 tests 
(including t/compiler/8_5.p6) now correctly, _if_ GC is turned off.

$ perl6 --test          # run through assembler / parrot
All tests successful, 2 subtests skipped.
Files=17,  Tests=72,  1 wallclock secs ( 0.16 cusr +  0.04 csys =  0.20 CPU)

real    1m5.575s
user    1m2.100s
sys     0m3.300s

8_5 fails. Here is a trace diff to correct one running per imcc:

  PC=462; OP=656 (save_p); ARGS=(P1)
  PC=464; OP=672 (restoreall)
  PC=465; OP=741 (ret)
-Wrong type on top of stack!
-Error: '/home/lt/src/parrot-leo/parrot -t t/compiler/8_5.pbc ' failed 
with exit
+PC=4; OP=0 (end)

$ time perl6 --test -r          # run tests per imcc
All tests successful, 2 subtests skipped.
Files=17,  Tests=72,  0 wallclock secs ( 0.11 cusr +  0.07 csys =  0.18 CPU)

real    0m29.766s
user    0m28.640s
sys     0m0.850s

All is here really all. And in less then half of the time (albeit imcc 
did - according to the trace diff - execute one op more then parrot ;-)


With GC turned on, some longer running tests fail:

Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/compiler/1.te              12    1   8,33%  11
t/compiler/8.te               6    1  16,67%  5
t/compiler/qsor               1    1 100,00%  1
t/rx/call.test                2    1  50,00%  2
2 subtests skipped.
Failed 4/17 test scripts, 76.47% okay. 4/72 subtests failed, 94.44% 
okay.


$ time perl6 --test -r -Rj      # run JIT
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/builtins/arra               3    1  33,33%  2
t/compiler/3.te               7    1  14,29%  7
t/compiler/8.te               6    1  16,67%  6
t/compiler/9.te               4    1  25,00%  2
t/compiler/b.te               2    1  50,00%  2
2 subtests skipped.
Failed 5/17 test scripts, 70.59% okay. 5/72 subtests failed, 93.06% okay.

real    0m29.045s

$ time perl6 --test -r -Rb    # with bounds checking and slow_core
All tests successful, 2 subtests skipped.

real    0m30.221s

and finally, for people, who know, how predereferencing works:

$ perl6 --test -RP
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/builtins/arra               3    1  33,33%  2
t/builtins/stri               4    4 100,00%  1-4
t/compiler/1.te              12   12 100,00%  1-12
t/compiler/2.te               5    5 100,00%  1-5
t/compiler/3.te               7    7 100,00%  1-7
t/compiler/4.te               3    3 100,00%  1-3
t/compiler/5.te               5    5 100,00%  1-5
t/compiler/6.te               6    6 100,00%  1-6
t/compiler/7.te               1    1 100,00%  1
t/compiler/8.te               6    6 100,00%  1-6
t/compiler/9.te               4    4 100,00%  1-4
t/compiler/a.te               3    3 100,00%  1-3
t/compiler/b.te               2    2 100,00%  1-2
t/compiler/qsor               1    1 100,00%  1
t/rx/basic.test               6    6 100,00%  1-6
t/rx/call.test                2    2 100,00%  1-2
t/rx/special.te               2    2 100,00%  1-2
2 subtests skipped.
Failed 17/17 test scripts, 0.00% okay. 70/72 subtests failed, 2.78% okay.

All results on a 800Mhz Athlon i386-linux, verified on a second one.

leo

Reply via email to