These tests seem to often be outliers in execution time. In faster
modern machines the slowness is not noticeable, but in slower machines
these are excruciatingly slow.
In slow machines these tests may grind for hours, but that is not
that useful information. We know the machine is slow, already.
The uniprops.t could also use the watchdog, except that TestProp.pl
seems to be purposefully avoiding using test.pl.
if ($^O eq 'dec_osf') {
skip_all("$^O cannot handle this test");
}
+ watchdog(5 * 60);
require './loc_tools.pl';
}
if ($^O eq 'dec_osf') {
skip_all("$^O cannot handle this test");
}
+ watchdog(5 * 60);
}
no warnings 'once';
if ($^O eq 'dec_osf') {
- print "1..0 # $^O cannot handle this test\n";
- exit(0);
+ print "1..0 # $^O cannot handle this test\n";
+ exit(0);
}
+# TODO: it would be good to have watchdog(5 * 60) in here
+# for slow machines, but unfortunately we cannot trivially
+# use test.pl because the TestProp.pl avoids using that.
+
# This is a wrapper for a generated file. Assumes being run from 't'
# directory.