Lines Matching full:ctest
31 struct ctest { struct
49 #define __Test_Section __attribute__ ((unused,section ("__DATA, .ctest"))) argument
51 #define __Test_Section __attribute__ ((unused,section (".ctest")))
55 struct ctest __TNAME(sname, tname) __Test_Section = { \
98 #define CTEST(sname, tname) __CTEST_INTERNAL(sname, tname, 0) macro
161 typedef int (*filter_func)(struct ctest*);
181 static CTEST(suite, test) { } in CTEST() function
300 static int suite_all(struct ctest* t) { in suite_all()
305 static int suite_filter(struct ctest* t) { in suite_filter()
326 static void *find_symbol(struct ctest *test, const char *fname) in find_symbol()
382 struct ctest* ctest_begin = &__TNAME(suite, test); in ctest_main()
383 struct ctest* ctest_end = &__TNAME(suite, test); in ctest_main()
386 struct ctest* t = ctest_begin-1; in ctest_main()
391 struct ctest* t = ctest_end+1; in ctest_main()
397 static struct ctest* test; in ctest_main()