diff options
author | Ed Peschko <epeschko@den-mdev1> | 1998-04-29 15:02:36 -0600 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-05-14 15:56:53 +0000 |
commit | 52cebf5efc9883c776f89be24e988c47ceba2a42 (patch) | |
tree | 08117e31b521c13d7549587dbdbf4f7d26edbc8f /t/harness | |
parent | 589fe9d5e99683526640f3a7119bb0059e22bc5f (diff) | |
download | perl-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/harness | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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; +} |