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. |
| 0x1 | Other violations. This exit code is only applicable when running cpptestcli with the -fail switch. |
| 0x2 | Static analysis violations. This exit code is only applicable when running cpptestcli with the -fail switch. |
| 0x4 | Unit test violations. This exit code is only applicable when running cpptestcli with the -fail switch. |
| 0x8 | Code review violations. This exit code is only applicable when running cpptestcli with the -fail switch. |