| 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) |