Searched refs:test_or_suite (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/lib/kunit/ |
H A D | attributes.c | 38 void *(*get_attr)(void *test_or_suite, bool is_test); 172 static void *attr_speed_get(void *test_or_suite, bool is_test) in attr_speed_get() argument 174 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_speed_get() 175 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_speed_get() 183 static void *attr_module_get(void *test_or_suite, bool is_test) in attr_module_get() argument 185 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_module_get() 186 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_module_get() 225 void kunit_print_attr(void *test_or_suite, bool is_test, unsigned int test_level) in kunit_print_attr() argument 231 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_attr() 232 struct kunit_case *test = is_test ? test_or_suite : NULL; in kunit_print_attr() [all …]
|
/openbmc/linux/include/kunit/ |
H A D | test.h | 489 #define kunit_mark_skipped(test_or_suite, fmt, ...) \ argument 491 WRITE_ONCE((test_or_suite)->status, KUNIT_SKIPPED); \ 492 scnprintf((test_or_suite)->status_comment, \ 508 #define kunit_skip(test_or_suite, fmt, ...) \ argument 510 kunit_mark_skipped((test_or_suite), fmt, ##__VA_ARGS__);\ 511 kunit_try_catch_throw(&((test_or_suite)->try_catch)); \ 518 #define kunit_log(lvl, test_or_suite, fmt, ...) \ argument 521 kunit_log_append((test_or_suite)->log, fmt, \
|
H A D | attributes.h | 31 void kunit_print_attr(void *test_or_suite, bool is_test, unsigned int test_level);
|