Searched refs:fixture_name (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/testing/selftests/ |
D | kselftest_harness.h | 239 #define FIXTURE(fixture_name) \ argument 240 FIXTURE_VARIANT(fixture_name); \ 241 static struct __fixture_metadata _##fixture_name##_fixture_object = \ 242 { .name = #fixture_name, }; \ 244 _register_##fixture_name##_data(void) \ 246 __register_fixture(&_##fixture_name##_fixture_object); \ 248 FIXTURE_DATA(fixture_name) 269 #define FIXTURE_SETUP(fixture_name) \ argument 270 void fixture_name##_setup( \ 272 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \ [all …]
|
/linux-6.6.21/tools/testing/selftests/landlock/ |
D | common.h | 34 #define TEST_F_FORK(fixture_name, test_name) \ argument 35 static void fixture_name##_##test_name##_child( \ 37 FIXTURE_DATA(fixture_name) *self, \ 38 const FIXTURE_VARIANT(fixture_name) *variant); \ 39 TEST_F(fixture_name, test_name) \ 47 fixture_name##_##test_name##_child(_metadata, self, variant); \ 75 static void fixture_name##_##test_name##_child( \ 77 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \ 78 const FIXTURE_VARIANT(fixture_name) \
|
/linux-6.6.21/tools/testing/selftests/iommu/ |
D | iommufd_fail_nth.c | 173 #define TEST_FAIL_NTH(fixture_name, name) \ argument 175 FIXTURE_DATA(fixture_name) *self, \ 176 const FIXTURE_VARIANT(fixture_name) \ 179 TEST_F(fixture_name, name) \ 191 fixture_name##_teardown(_metadata, self, variant); \ 192 fixture_name##_setup(_metadata, self, variant); \ 200 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \ 201 const FIXTURE_VARIANT(fixture_name) __attribute__((unused)) \
|