Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 3 of 3) sorted by relevance

/string/
A Dtst-svc2.c10 } tests[] = variable
16 #define ntests (sizeof (tests) / sizeof (tests[0]))
35 if (compare (tests[i].str1, tests[i].str2, -1)) in do_test()
37 printf ("FAIL: \"%s\" > \"%s\"\n", tests[i].str1, tests[i].str2); in do_test()
40 if (compare (tests[i].str2, tests[i].str1, +1)) in do_test()
42 printf ("FAIL: \"%s\" > \"%s\"\n", tests[i].str2, tests[i].str1); in do_test()
45 char *copy1 = strdupa (tests[i].str1); in do_test()
46 if (compare (tests[i].str1, copy1, 0)) in do_test()
48 printf ("FAIL: \"%s\" != \"%s\"\n", tests[i].str1, copy1); in do_test()
51 char *copy2 = strdupa (tests[i].str2); in do_test()
[all …]
A Dtest-sig_np.c31 } tests[] = variable
42 for (size_t i = 0; i < array_length (tests); i++) in do_test()
44 TEST_COMPARE_STRING (sigabbrev_np (tests[i].errno), tests[i].abbrev); in do_test()
45 TEST_COMPARE_STRING (sigdescr_np (tests[i].errno), tests[i].descr); in do_test()
A DMakefile51 strop-tests := memchr memcmp memcpy memcpy-large memcmpeq memmove mempcpy \
57 tests := tester inl-tester noinl-tester testcopy test-ffs \ macro
61 bug-strtok1 $(addprefix test-,$(strop-tests)) \
69 tests-translation := tst-strsignal \
72 tests-container += $(tests-translation)
74 tests-unsupported += $(tests-translation)
82 tests += test-strerror-errno
85 ifeq ($(run-built-tests),yes)
86 tests-special += $(objpfx)tst-svc-cmp.out
112 ifeq ($(run-built-tests),yes)

Completed in 6 milliseconds