summaryrefslogtreecommitdiff
path: root/tests/ChangeLog
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/ChangeLog
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/ChangeLog')
-rw-r--r--tests/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 93a9e3b..6e53dc7 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,23 @@
+2007-07-13 Paul Smith <psmith@gnu.org>
+
+ Install a timeout so tests can never loop infinitely.
+ Original idea and patch for a single-test version provided by
+ Icarus Sparry <savannah@icarus.freeuk.com>
+
+ * test_driver.pl (_run_command): New function: this is called by
+ other functions to actually run a command. Before we run it,
+ install a SIGALRM handler and set up a timer to go off in the
+ future (default is 5s; this can be overridden by individual tests).
+ (run_command): Call it.
+ (run_command_with_output): Call it.
+
+ * run_make_tests.pl (run_make_with_options): Override the default
+ timeout if the caller requests it.
+ (run_make_test): Pass any timeout override to run_make_with_options.
+
+ * scripts/features/parallelism: Increase the timeout for long tests.
+ * scripts/options/dash-l: Ditto.
+
2006-10-01 Paul Smith <psmith@paulandlesley.org>
* run_make_tests.pl (set_more_defaults): Remove setting of LANG in