15. Return Value

If QMTest successfully performed the action requested, QMTest returns 0. For the qmtest run or qmtest summarize commands, success implies not only that the tests ran, but also that all of the tests passed (if the --outcomes option was not used) or had their expected outcomes (if the --outcomes option was used).

If either the run command or the summarize command was used, and at least one test failed (if the --outcomes option was not used) or had an unexpected outcome (if the --outcomes option was used), qmtest returns 1.

If QMTest could not perform the action requested, qmtest returns 2.