Next: , Previous: , Up: Running tests   [Contents][Index]

2.2 Running runtest

runtest is the test driver for DejaGnu. You can specify two kinds of things on the runtest command line: command line options, and Tcl variables that are passed to the test scripts. The options are listed alphabetically below.

runtest returns one of the following exit codes:


if all tests passed including expected failures and unsupported tests.


if any test failed, passed unexpectedly, or was unresolved.


if Expect encountered any error in the test scripts.