Okay, languages/perl6 is failing all its tests.

The problem is in a few recent changes to lib/Parrot/Test.pm. The Perl
6 test module in languages/perl6/P6C/TestCompiler.pm inherits from
Parrot::Test, but overrides some subs. P6C::TestCompiler's
&generate_pbc_for is writing the .pasm files in subdirectories of
languages/perl6/t, but Parrot::Test's &generate_functions is trying to
read them from a flattened directory structure in /tmp/*.
(P6C::TestCompiler is passing arguments to Parrot::Test's
&generate_functions that it no longer accepts, and Parrot::Test is
passing arguments to P6C::TestCompiler's &generate_pbc_for that it
ignores.)

So, the tests are failing either because the expected file in /tmp
doesn't exist, or more often because there's already a .pasm file in
/tmp with the expected name that was left behind by the main Parrot test
run (it seems that names like "basic.t" are common).

Will or Jerome, could you take a minute to explain the direction you're
taking Parrot::Test? I'll patch P6C::TestCompiler to match the new
setup, but I want to do an "architecture sanity check" first.

Thanks,
Allison

Reply via email to