On Thu, Aug 29, 2002 at 11:56:42PM +0200, Leopold Toetsch wrote: > 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.
Umm... sounds good, but I'm not sure how that relates to my patch. My patch was a silly cleanup patch that renamed an intermediate file for a test from "t/src/basic_1." to "t/src/basic_1". I only did it because it bothered my sense of aesthetics. Or maybe I was stuck on something else; I forget. The script you're referring to sounds like it actually does something meaningful, like run ops2c.pl on all the tests and execute them that way. Which is utterly unrelated to what I did; I was only messing with the tests that are actually written in C in the first place, and I didn't change anything but a filename that nobody sees unless they're debugging them. Or are you saying there's no point in doing this because we should be running through your script instead? I'm still confused about the relationship between your comments and the message you're commenting on. > 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%. Sounds good to me; the tests take an annoyingly long time right now. > BTW, perl6 deletes the 2MB exe after test (433 * 2 MB = boom ;-) I hope there's some way of keeping the executable around for dissecting with gdb. $ENV{POSTMORTEM} or something?