diff options
author | Ben Elliston <bje@gnu.org> | 2016-02-17 04:28:23 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2016-02-17 04:28:23 +1100 |
commit | 20e8dfb5d2cc2f63f654460543e9e65bb1323b9e (patch) | |
tree | a75a490cbaa0e87175f03e3be4c1d655e557be28 /doc | |
parent | 566e82586139ad0135b875f164e3c727e7d08fcb (diff) | |
download | dejagnu-20e8dfb5d2cc2f63f654460543e9e65bb1323b9e.tar.gz dejagnu-20e8dfb5d2cc2f63f654460543e9e65bb1323b9e.tar.bz2 dejagnu-20e8dfb5d2cc2f63f654460543e9e65bb1323b9e.zip |
* runtest.exp: Enable --status by default.
(runtest): Set exit status to 2 if there is any error sourcing
the Tcl scripts.
* lib/framework.exp (unknown): Likewise, set exit status to 2.
* doc/runtest.1: Clarify exit status codes.
* NEWS: Update.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/runtest.1 | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/runtest.1 b/doc/runtest.1 index 4ef5297..0212342 100644 --- a/doc/runtest.1 +++ b/doc/runtest.1 @@ -109,14 +109,20 @@ prompt. Any file name on the command line is assumed to be a subset of the test names to run. Usually these are the names of the test scripts (eg. foo.exp). - +.PP Makefile-style variables are used to specify tool names and their flags; these and other configuration dependent values are saved in the file \fBsite.exp\fR, created during configuration. -.SH EXIT CODES -.B runtest -sets the exit code to 1 if any of the tests failed, or -sets it to 0 if all the tests passed. +.SS "Exit status:" +.TP +0 +if all tests passed including expected failures and unsupported tests, +.TP +1 +if any test failed, passed unexpectedly, or was unresolved, +.TP +2 +if Expect encountered any error in the test scripts. .SH AUTHOR Rob Savoye (rob@welcomehome.org) .SH "REPORTING BUGS" |