| 20 | SC::Console* globalConsole = nullptr; |
| 21 | |
| 22 | int main(int argc, const char* argv[]) |
| 23 | { |
| 24 | using namespace SC; |
| 25 | Globals::init(Globals::Global, {1024 * 1024}); // 1MB for ownership tracking |
| 26 | Console::tryAttachingToParentConsole(); |
| 27 | |
| 28 | Console console; |
| 29 | globalConsole = &console; |
| 30 | |
| 31 | TestReport::Output<Console> trConsole = {console}; |
| 32 | TestReport report(trConsole, argc, argv); |
| 33 | if (report.hasStartupFailure()) |
| 34 | return report.getTestReturnCode(); |
| 35 | report.debugBreakOnFailedTest = true; |
| 36 | |
| 37 | runSCBuildTest(report); |
| 38 | runBuildTest(report); |
| 39 | return report.getTestReturnCode(); |
| 40 | } |
nothing calls this directly
no test coverage detected