MCPcopy Create free account
hub / github.com/RenderKit/embree / print_ctests

Method print_ctests

tutorials/verify/verify.cpp:7026–7036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7024 }
7025
7026 void VerifyApplication::print_ctests(Ref<Test> test, size_t depth)
7027 {
7028 if (!test->isEnabled()) return;
7029
7030 if (Ref<TestGroup> group = test.dynamicCast<TestGroup>())
7031 {
7032 for (auto& t : group->tests) print_ctests(t,depth+1);
7033 } else {
7034 std::cout << "ADD_TEST(NAME " << test->name << " COMMAND verify --no-colors --cdash-measurements --run " << test->name << std::endl;
7035 }
7036 }
7037
7038 template<typename Function>
7039 void VerifyApplication::map_tests(Ref<Test> test, const Function& f)

Callers

nothing calls this directly

Calls 1

isEnabledMethod · 0.45

Tested by

no test coverage detected