UTEST revision 7c478bd95313f5f23a4c958a745db2134aa03244
2868N/A# Last change: Fri Jan 10 09:57:03 WET 1997 2868N/A# This is written in a peculiar style, since we're trying to avoid 2868N/A# most of the constructs we'll be testing for. 2868N/Adie "You need to run \"make test\" first to set things up.\n" 2868N/A#$ENV{PERL_DESTRUCT_LEVEL} = '2'; 3201N/A-------------------------------------------------------------------------------- 1008N/A-------------------------------------------------------------------------------- 1008N/A # Must protect uppercase switches with "" on command line 4748N/A if (/^ok (\d+)(\s*#.*)?$/ && $1 == $next) { 1008N/A print "skipping test on this platform\n"; 1008N/A die "Failed a basic test--cannot continue.\n"; 1008N/A print "All tests successful.\n"; 1008N/A # XXX add mention of 'perlbug -ok' ? 1008N/A die "FAILED--no tests were run for some reason.\n"; 1008N/A ### Since not all tests were successful, you may want to run some 1008N/A ### of them individually and examine any diagnostic messages they 1008N/A ### produce. See the INSTALL document's section on "make test". 1008N/A ### If you are testing the compiler, then ignore this message 1008N/A ### Since most tests were successful, you have a good chance to 1008N/A ### get information with better granularity by running