Steve Fink (via RT) wrote:

> This patch trims off the period at the end of executable filenames for
> C-based tests on unix. 


Nice, but I'm a little bit Warnocked.

1) I did post a script (testnative), which runs _all_ tests as 
executables, _all_ not one, and --shared too.


2) Im my tree (~20 lines diff to CVS)

$ perl6 --test-parrot ../../t/*/*.t
....
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
.../../t/src/bas               2    2 100,00%  1-2
5 subtests skipped.
Failed 1/26 test scripts, 96.15% okay. 2/433 subtests failed, 99.54% okay.

e.g.
$ perl6 --parrot-test ../../t/pmc/p*.t
Test details:
.../../t/pmc/perlarray.t......15/15
.../../t/pmc/perlhash.t.......15/15
....
$ perl6 --parrot-test ../../t/pmc/p*.t -C  ## as C executable
Test details:
.../../t/pmc/perlarray.t......15/15

$ perl6 --parrot-test ../../t/pmc/p*.t -C --shared ## shared exe
Test details:
.../../t/pmc/perlarray.t.......7/15
^C

Rational:

This saves the rather longish startup times for loading the perl6 
parser. Testing parrot (or imc is a side effect). Perl6 test times are 
cut to 40%.

BTW, perl6 deletes the 2MB exe after test (433 * 2 MB = boom ;-)
leo

Reply via email to