Home
last modified time | relevance | path

Searched refs:fixture_name (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/tools/testing/selftests/
Dkselftest_harness.h238 #define FIXTURE(fixture_name) \ argument
239 FIXTURE_VARIANT(fixture_name); \
240 static struct __fixture_metadata _##fixture_name##_fixture_object = \
241 { .name = #fixture_name, }; \
243 _register_##fixture_name##_data(void) \
245 __register_fixture(&_##fixture_name##_fixture_object); \
247 FIXTURE_DATA(fixture_name)
268 #define FIXTURE_SETUP(fixture_name) \ argument
269 void fixture_name##_setup( \
271 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \
[all …]
/Linux-v6.1/tools/testing/selftests/landlock/
Dcommon.h29 #define TEST_F_FORK(fixture_name, test_name) \ argument
30 static void fixture_name##_##test_name##_child( \
32 FIXTURE_DATA(fixture_name) *self, \
33 const FIXTURE_VARIANT(fixture_name) *variant); \
34 TEST_F(fixture_name, test_name) \
42 fixture_name##_##test_name##_child(_metadata, self, variant); \
70 static void fixture_name##_##test_name##_child( \
72 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \
73 const FIXTURE_VARIANT(fixture_name) \