| 831 | } |
| 832 | |
| 833 | void SC::TestReport::testCaseFinished(TestCase& testCase) |
| 834 | { |
| 835 | if (abortOnFirstFailedTest && testCase.numTestsFailed > 0) |
| 836 | { |
| 837 | #if SC_CONFIGURATION_RELEASE |
| 838 | ::exit(-1); |
| 839 | #endif |
| 840 | } |
| 841 | } |
| 842 | |
| 843 | bool SC::TestReport::isTestEnabled(StringSpan testName) const { return testToRun.isEmpty() || testToRun == testName; } |
| 844 |