MCPcopy Create free account
hub / github.com/boost-ext/ut / run

Method run

example/cfg/parallel_runner.cpp:28–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 [[nodiscard]] auto run() -> bool {
29#if defined(__cpp_lib_parallel_algorithm)
30 std::for_each(std::execution::par, std::cbegin(suites_), std::cend(suites_),
31 [&](const auto& suite) { suite.first(); });
32#else
33 std::for_each(std::cbegin(suites_), std::cend(suites_),
34 [&](const auto& suite) { suite.first(); });
35#endif
36
37 suites_.clear();
38
39 return fails_ > 0;
40 }
41};
42} // namespace cfg
43

Callers 4

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected