C/C++test uses the following exit codes:
| Code | Meaning |
|---|---|
| 0 | Successful completion. |
| 130 | Command-line is malformed or refers to a resource that does not exist. |
| 131 | The workspace is busy. |
| 134 | A license problem has been encountered. |
| 135 | The process exited with an exception. Check error log. |
| 136 | A test configuration problem has been encountered. |
| 137 | There was an error with the input scope. |
| 138 | There was an error with the compiler configuration. |
| 139 | There was an error with the rule configuration. |
| 140 | A settings problem has been encountered. |
| 0x21 | Static analysis violations. This exit code is only applicable when running cpptestcli with the -fail switch. |
| 0x41 | Unit test violations. This exit code is only applicable when running cpptestcli with the -fail switch. |
1 The process can exit with a combination of these values if a problem of a different type is encountered.