summaryrefslogtreecommitdiff
path: root/tests/thelp.pl
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-10-22 15:35:16 -0400
committerPaul Smith <psmith@gnu.org>2022-10-22 22:37:49 -0400
commitcad3ddd165645fa7a8b1e9cf4ec996de89b4d5da (patch)
treeebaa5e098a233c80b4c3c470fa4b75f6ea8afeda /tests/thelp.pl
parent54214176b124487d32c3ee02104135b0329579a1 (diff)
downloadmake-git-cad3ddd165645fa7a8b1e9cf4ec996de89b4d5da.tar.gz
Enhance tests to work on different systems
The GNU platform testers reported a number of test errors on different systems; try to address them. * tests/thelp.pl: A number of tests timed out with a 4-second timeout. Increase the default timeout to 10 seconds. * tests/run_make_tests.pl: Executing directories on cygwin behaves differently in Perl than make so skip these tests there. * tests/scripts/options/symlinks: Check for the symlink feature in make, rather than whether the system supports them. * tests/scripts/features/implicit_search: On some systems "false" exits with a different exit code. Use the helper instead. * tests/scripts/features/loadapi: Ditto. * tests/scripts/features/output-sync: Sleep before make -f bar in the first test as well as the second one. * tests/scripts/features/exec: Skip on cygwin, which seems to be "UNIX" but where scripts don't run normally. * tests/scripts/misc/fopen-fail: Skip on cygwin, where make eventually exits with exit code 0 and no error messages.
Diffstat (limited to 'tests/thelp.pl')
-rwxr-xr-xtests/thelp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/thelp.pl b/tests/thelp.pl
index ed8c819e..993339cb 100755
--- a/tests/thelp.pl
+++ b/tests/thelp.pl
@@ -24,7 +24,7 @@
$| = 1;
my $quiet = 0;
-my $timeout = 4;
+my $timeout = 10;
sub op {
my ($op, $nm) = @_;