Next: , Previous: , Up: Running tests  


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:

0

if all tests passed including expected failures and unsupported tests.

1

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

2

if Expect encountered any error in the test scripts.