This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate mainline
[perl5.git] / t / TEST
diff --git a/t/TEST b/t/TEST
index 54ed3ef..b788da9 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -30,7 +30,7 @@ if ($#ARGV >= 0) {
 chdir 't' if -f 't/TEST';
 
 die "You need to run \"make test\" first to set things up.\n"
-  unless -e 'perl' or -e 'perl.exe';
+  unless -e 'perl' or -e 'perl.exe' or -e 'perl.pm';
 
 if ($ENV{PERL_3LOG}) { # Tru64 third(1) tool, see perlhack
     unless (-x 'perl.third') {
@@ -72,7 +72,7 @@ sub _find_tests {
 }
 
 unless (@ARGV) {
-    foreach my $dir (qw(base comp cmd run io op)) {
+    foreach my $dir (qw(base comp cmd run io op uni)) {
         _find_tests($dir);
     }
     _find_tests("lib") unless $core;
@@ -212,7 +212,8 @@ EOT
        else {
            my $compile;
             my $pl2c = "$testswitch -I../lib ../utils/perlcc --testsuite " .
-                       "$switch -L .. " .
+              # -O9 for good measure, -fcog is broken ATM
+                       "$switch -Wb=-O9,-fno-cog -L .. " .
                        "-I \".. ../lib/CORE\" $args $utf $test -o ";
 
             if( $^O eq 'MSWin32' ) {