| 32 | int gTestCounter = 0; |
| 33 | |
| 34 | void Abort() { |
| 35 | if (GetTestCounter() == 1) { |
| 36 | SetTestCounter(2); |
| 37 | } else { |
| 38 | std::cerr << "Program terminated with an unrecoverable error." << std::endl; |
| 39 | ShutdownLibrary(); |
| 40 | exit(-1); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | void Exit(int code) { |
| 45 | if (GetTestCounter() == 1) { |
no test coverage detected