Dan wrote:
> 
> Well... the big problems we were make-related, with some tinder 
> issues. Basically if any test suite died really hard the testing 
> would stop, and only the last test suite run counted for tinder 
> good/bad reporting.
> 
> At this point, though, I'm comfortable making it so that any language 
> in the distribution with tests should run under the base test 
> harness. If you need to mess around with it there's a good chance 
> that something's gone horribly wrong, and twiddling with it on a 
> per-language basis isn't likely the right way to go.

I'm mainly thinking about the fact that Perl 6 tests will eventually be
written in Perl 6. But we can cross that bridge when we get to it. :)

All I really care about at the moment is making the Perl 6 test suite
work so I can work on P6C. The attached patch takes care of it (and
stops putting the tests in /tmp).

Allison
Index: lib/Parrot/Test.pm
===================================================================
RCS file: /cvs/public/parrot/lib/Parrot/Test.pm,v
retrieving revision 1.55
diff -u -u -r1.55 Test.pm
--- lib/Parrot/Test.pm  9 Apr 2004 20:32:33 -0000       1.55
+++ lib/Parrot/Test.pm  21 Apr 2004 23:49:21 -0000
@@ -270,10 +270,7 @@
            $run_pbc = 0;
        }
        else {
-           # flatten filenames (don't use directories)
-           $as_f = (File::Spec->splitpath($as_f))[2];
-           # but, always put the test in a tempdir, so we're not cluttering
-           $as_f = File::Spec->catfile(File::Spec->tmpdir(),$as_f);
+           $as_f = File::Spec->rel2abs($as_f);
            $pbc_generator->( $assembly, $path_to_parrot, $count, $as_f );
        }
 

Reply via email to