test_selector
if (parse_num_list(arg, &env->test_selector.num_set,
&env->test_selector.num_set_len)) {
&env->test_selector.whitelist,
&env->test_selector.whitelist,
&env->test_selector.blacklist,
&env->test_selector.blacklist,
test->should_run = should_run(&env.test_selector,
free_test_selector(&env.test_selector);
static bool should_run(struct test_selector *sel, int num, const char *name)
static bool should_run_subtest(struct test_selector *sel,
struct test_selector *subtest_sel,
static bool should_tmon(struct test_selector *sel, const char *name)
if (!should_run_subtest(&env.test_selector,
static void free_test_selector(struct test_selector *test_selector)
free_test_filter_set(&test_selector->blacklist);
free_test_filter_set(&test_selector->whitelist);
free(test_selector->num_set);
struct test_selector test_selector;
struct test_selector subtest_selector;
struct test_selector tmon_selector;