| 32 | #define SHOW_MEMORY_REPORT 0 |
| 33 | |
| 34 | int main(int ac, char **av) |
| 35 | { |
| 36 | int returnValue = 0; |
| 37 | GlobalSimpleStringCache stringCache; |
| 38 | |
| 39 | { |
| 40 | /* These checks are here to make sure assertions outside test runs don't crash */ |
| 41 | CHECK(true); |
| 42 | LONGS_EQUAL(1, 1); |
| 43 | |
| 44 | #if SHOW_MEMORY_REPORT |
| 45 | GlobalMemoryAccountant accountant; |
| 46 | accountant.start(); |
| 47 | #endif |
| 48 | |
| 49 | CommandLineTestRunner::RunAllTests(ac, av); /* cover alternate method */ |
| 50 | |
| 51 | #if SHOW_MEMORY_REPORT |
| 52 | accountant.stop(); |
| 53 | printf("%s", accountant.report().asCharString()); |
| 54 | #endif |
| 55 | } |
| 56 | |
| 57 | return returnValue; |
| 58 | } |
| 59 |
nothing calls this directly
no test coverage detected