Lines Matching refs:tname
44 #define __FNAME(sname, tname) __ctest_##sname##_##tname##_run argument
45 #define __TNAME(sname, tname) __ctest_##sname##_##tname argument
54 #define __CTEST_STRUCT(sname, tname, _skip, __data, __setup, __teardown) \ argument
55 struct ctest __TNAME(sname, tname) __Test_Section = { \
57 .ttname=#tname, \
58 .run = __FNAME(sname, tname), \
73 #define __CTEST_INTERNAL(sname, tname, _skip) \ argument
74 void __FNAME(sname, tname)(); \
75 __CTEST_STRUCT(sname, tname, _skip, NULL, NULL, NULL) \
76 void __FNAME(sname, tname)()
86 #define __CTEST2_INTERNAL(sname, tname, _skip) \ argument
90 void __FNAME(sname, tname)(struct sname##_data* data); \
91 …__CTEST_STRUCT(sname, tname, _skip, &__ctest_##sname##_data, SETUP_FNAME(sname), TEARDOWN_FNAME(sn…
92 void __FNAME(sname, tname)(struct sname##_data* data)
98 #define CTEST(sname, tname) __CTEST_INTERNAL(sname, tname, 0) argument
99 #define CTEST_SKIP(sname, tname) __CTEST_INTERNAL(sname, tname, 1) argument
101 #define CTEST2(sname, tname) __CTEST2_INTERNAL(sname, tname, 0) argument
102 #define CTEST2_SKIP(sname, tname) __CTEST2_INTERNAL(sname, tname, 1) argument