summaryrefslogtreecommitdiff
path: root/t/harness
diff options
context:
space:
mode:
authorEd Peschko <epeschko@den-mdev1>1998-04-29 15:02:36 -0600
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-14 15:56:53 +0000
commit52cebf5efc9883c776f89be24e988c47ceba2a42 (patch)
tree08117e31b521c13d7549587dbdbf4f7d26edbc8f /t/harness
parent589fe9d5e99683526640f3a7119bb0059e22bc5f (diff)
downloadperl-52cebf5efc9883c776f89be24e988c47ceba2a42.tar.gz
[ PATCH 5.004_64 ] Integrated regression tests for compiler
p4raw-id: //depot/perl@963
Diffstat (limited to 't/harness')
-rw-r--r--t/harness13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/harness b/t/harness
index af92a8b6dc..f6d94de90f 100644
--- a/t/harness
+++ b/t/harness
@@ -17,4 +17,17 @@ $Test::Harness::verbose = shift if @ARGV && $ARGV[0] eq '-v';
@tests = @ARGV;
@tests = <base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t lib/*.t> unless @tests;
+
Test::Harness::runtests @tests;
+
+%infinite = ('comp/require.t', 1, 'op/bop.t', 1, 'lib/hostname.t', 1 );
+
+@tests = grep (!$infinite{$_}, @tests);
+
+if (-e "../testcompile")
+{
+ print "The tests ", join(' ', keys(%infinite)),
+ " generate infinite loops! Skipping!\n";
+
+ $ENV{'COMPILE_TEST'} = 1; Test::Harness::runtests @tests;
+}