Searched refs:test_or_suite (Results 1 – 3 of 3) sorted by relevance
| /linux/lib/kunit/ |
| A D | attributes.c | 38 void *(*get_attr)(void *test_or_suite, bool is_test); 213 static void *attr_speed_get(void *test_or_suite, bool is_test) in attr_speed_get() argument 215 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_speed_get() 216 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_speed_get() 226 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_module_get() 227 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_module_get() 240 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_is_init_get() 241 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_is_init_get() 291 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_attr() 292 struct kunit_case *test = is_test ? test_or_suite : NULL; in kunit_print_attr() [all …]
|
| /linux/include/kunit/ |
| A D | test.h | 564 #define kunit_mark_skipped(test_or_suite, fmt, ...) \ argument 566 WRITE_ONCE((test_or_suite)->status, KUNIT_SKIPPED); \ 567 scnprintf((test_or_suite)->status_comment, \ 583 #define kunit_skip(test_or_suite, fmt, ...) \ argument 585 kunit_mark_skipped((test_or_suite), fmt, ##__VA_ARGS__);\ 586 kunit_try_catch_throw(&((test_or_suite)->try_catch)); \ 593 #define kunit_log(lvl, test_or_suite, fmt, ...) \ argument 596 kunit_log_append((test_or_suite)->log, fmt, \
|
| A D | attributes.h | 31 void kunit_print_attr(void *test_or_suite, bool is_test, unsigned int test_level);
|
Completed in 10 milliseconds