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

Method enable_disable_some_tests

tutorials/verify/verify.cpp:7054–7065  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7052 }
7053
7054 size_t VerifyApplication::enable_disable_some_tests(Ref<Test> test, std::string regex, bool enabled)
7055 {
7056 size_t N = 0;
7057 map_tests(test, [&] (Ref<Test> test) {
7058 if (regex_match(test->name,regex)) {
7059 test->enabled = enabled;
7060 N++;
7061 }
7062 });
7063 update_tests(test);
7064 return N;
7065 }
7066
7067 template<typename Closure>
7068 void VerifyApplication::plot(std::vector<Ref<Benchmark>> benchmarks, const FileName outFileName, std::string xlabel, size_t startN, size_t endN, float f, size_t dn, const Closure& test)

Callers

nothing calls this directly

Calls 1

regex_matchFunction · 0.85

Tested by

no test coverage detected