Lines Matching refs:sel
266 static bool should_run(struct test_selector *sel, int num, const char *name) in should_run() argument
270 for (i = 0; i < sel->blacklist.cnt; i++) { in should_run()
271 if (glob_match(name, sel->blacklist.tests[i].name) && in should_run()
272 !sel->blacklist.tests[i].subtest_cnt) in should_run()
276 for (i = 0; i < sel->whitelist.cnt; i++) { in should_run()
277 if (glob_match(name, sel->whitelist.tests[i].name)) in should_run()
281 if (!sel->whitelist.cnt && !sel->num_set) in should_run()
284 return num < sel->num_set_len && sel->num_set[num]; in should_run()
309 static bool should_run_subtest(struct test_selector *sel, in should_run_subtest() argument
315 if (match_subtest(&sel->blacklist, test_name, subtest_name)) in should_run_subtest()
318 if (match_subtest(&sel->whitelist, test_name, subtest_name)) in should_run_subtest()
321 if (!sel->whitelist.cnt && !subtest_sel->num_set) in should_run_subtest()
327 static bool should_tmon(struct test_selector *sel, const char *name) in should_tmon() argument
331 for (i = 0; i < sel->whitelist.cnt; i++) { in should_tmon()
332 if (glob_match(name, sel->whitelist.tests[i].name) && in should_tmon()
333 !sel->whitelist.tests[i].subtest_cnt) in should_tmon()