MCPcopy Create free account
hub / github.com/boostorg/json / main

Function main

test/main.cpp:19–31  ·  view source on GitHub ↗

Simple main used to produce stand alone executables that run unit tests.

Source from the content-addressed store, hash-verified

17// Simple main used to produce stand
18// alone executables that run unit tests.
19int main(int argc, char const* const* argv)
20{
21#ifdef _MSC_VER
22 {
23 int flags = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
24 flags |= _CRTDBG_LEAK_CHECK_DF;
25 _CrtSetDbgFlag(flags);
26 }
27#endif
28
29 ::test_suite::debug_stream log(std::cerr);
30 return ::test_suite::run(log, argc, argv);
31}

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected