summaryrefslogtreecommitdiff
path: root/tests/scripts/options
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2007-07-14 02:57:46 +0000
committerPaul Smith <psmith@gnu.org>2007-07-14 02:57:46 +0000
commitbb4d040fadcb76a8828eaf24b4f0557ec11f44fb (patch)
treecaeae1a84c3787f3c4c930e14af86e25928689d2 /tests/scripts/options
parent891ebd4d9766c1fb0bd11bd0fe8ef3ca871d4bc0 (diff)
downloadgunmake-bb4d040fadcb76a8828eaf24b4f0557ec11f44fb.tar.gz
Fix Savannah bug #20452.
Add a new feature to the test suite suggested by Icarus Sparry: set a timer before invoking a test, so that if it loops infinitely we will wake up and have a chance to kill the process and continue.
Diffstat (limited to 'tests/scripts/options')
-rw-r--r--tests/scripts/options/dash-l3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/scripts/options/dash-l b/tests/scripts/options/dash-l
index 58216f9..0b0f196 100644
--- a/tests/scripts/options/dash-l
+++ b/tests/scripts/options/dash-l
@@ -45,7 +45,8 @@ close(MAKEFILE);
$mkoptions = "-l 0.0001";
$mkoptions .= " -j 4" if ($parallel_jobs);
-&run_make_with_options($makefile, $mkoptions, &get_logfile);
+# We have to wait longer than the default (5s).
+&run_make_with_options($makefile, $mkoptions, &get_logfile, 0, 8);
$slurp = &read_file_into_string (&get_logfile(1));
if ($slurp !~ /cannot enforce load limit/) {