Searched refs:test_glob (Results 1 - 3 of 3) sorted by relevance

/linux-master/lib/kunit/
H A Dexecutor.c66 char *test_glob; member in struct:kunit_glob_filter
69 /* Split "suite_glob.test_glob" into two. Assumes filter_glob is not empty. */
81 parsed->test_glob = NULL;
90 parsed->test_glob = kzalloc(len - (period - filter_glob) + 1, GFP_KERNEL);
91 if (!parsed->test_glob) {
97 strncpy(parsed->test_glob, period + 1, len - (period - filter_glob));
102 /* Create a copy of suite with only tests that match test_glob. */
104 kunit_filter_glob_tests(const struct kunit_suite *const suite, const char *test_glob) argument
111 if (!test_glob || glob_match(test_glob, test_cas
[all...]
H A Dexecutor_test.c32 KUNIT_EXPECT_FALSE(test, filter.test_glob);
34 kfree(filter.test_glob);
38 KUNIT_EXPECT_STREQ(test, filter.test_glob, "test");
40 kfree(filter.test_glob);
/linux-master/tools/testing/kunit/
H A Dkunit.py177 test_glob = request.filter_glob.split('.', maxsplit=2)[1]
178 filter_globs = [g + '.'+ test_glob for g in filter_globs]

Completed in 242 milliseconds