diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-08-09 13:22:17 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-08-09 21:30:32 +0200 |
| commit | d9ff34f2e0d52351ec9e5c5b33002b7be3937123 (patch) | |
| tree | 8d6d99f0fe6e07c753c3f11f785cfb8d1bf42490 /Documentation | |
| parent | fa71b7ac0594c9ddf81ec27753280cffef702489 (diff) | |
| download | sparse-dev-d9ff34f2e0d52351ec9e5c5b33002b7be3937123.tar.gz | |
testsuite: add support for commands with timeout
Tests taking a huge or infinite amout of time is
a problem for the testsuite. Furthermore, it's most
often the sign of a problem somewhere.
Fix this by adding some support to use an optional
timeout for each testcase command.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/test-suite | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/test-suite b/Documentation/test-suite index 2e786bbf..a288c81a 100644 --- a/Documentation/test-suite +++ b/Documentation/test-suite @@ -25,6 +25,10 @@ check-command: (optional) check-exit-value: (optional) The expected exit value of check-command. It defaults to 0. +check-timeout: (optional) + The maximum expected duration of check-command, in seconds. + It defaults to 1. + check-output-start / check-output-end (optional) The expected output (stdout and stderr) of check-command lies between those two tags. It defaults to no output. |
