The test runner produces one of the following error codes when it experiences an error running a test case. These values can be queried using your platform-specific error variable.
Error | Value |
---|---|
All tests passed | 0 |
One or more errors | 1 |
Bad argument | 32 |
Duplicate test case | 33 |
Test fixture not found | 34 |
No test case found | 35 |
Test fixture not loaded | 36 |
Cannot open file | 37 |
Cannot create file | 38 |
Out of memory | 39 |
User abort | 40 |
Event handler retry fail | 41 |
Feature not available | 42 |
No result from .exe | 43 |
Exit after util failed1 | 50 |
Unit test not aborted | 51 |
Internal error | 100 |