Home | History | Annotate | Download | only in testsuite

Lines Matching refs:tests

26 struct tests
32 } tests[] = {
55 for (i = 0; i < sizeof (tests) / sizeof (tests[i]); ++i)
57 re_set_syntax (tests[i].syntax);
59 if (re_compile_pattern (tests[i].regex, strlen (tests[i].regex), &r))
65 size_t len = strlen (tests[i].string);
66 int rv = re_search (&r, tests[i].string, len, 0, len, NULL);
67 if (rv != tests[i].retval)
70 i, rv, tests[i].retval);