In attempting to figure out why tests in languages/perl6 aren't running,
I came across something of an oddity in t/harness.
> my @tests = @ARGV ? @ARGV : map { glob( "t/$_/*.t" ) } ( qw(compiler rx) );
Apparently designed to loop through just compiler/ and rx/ directories,
yet there are also builtins/ and parser/ directories. It occurs to me
that code like this is prone to someone forgetting to add a new test/
directory when updating a test suite. Though it could easily be argued
that it's better than some equivalent opendir/readdir/closedir code
because it lets you explicitly declare which test directories you want
to run. Thoughts on this?
--
Jeff 'puttering with Unicode' <[EMAIL PROTECTED]>