Lines Matching refs:tests
35 } tests [] = variable
113 for (int i = 0; i < array_length (tests); ++i) in do_test()
115 setenv ("TZ", tests[i].tz, 1); in do_test()
117 tm = getdate (tests[i].str); in do_test()
126 TEST_COMPARE (tests[i].tm.tm_mon, tm->tm_mon); in do_test()
127 TEST_COMPARE (tests[i].tm.tm_year, tm->tm_year); in do_test()
128 TEST_COMPARE (tests[i].tm.tm_mday, tm->tm_mday); in do_test()
129 TEST_COMPARE (tests[i].tm.tm_hour, tm->tm_hour); in do_test()
130 TEST_COMPARE (tests[i].tm.tm_min, tm->tm_min); in do_test()
131 TEST_COMPARE (tests[i].tm.tm_sec, tm->tm_sec); in do_test()
135 TEST_COMPARE (getdate_r (tests[i].str, &tms), 0); in do_test()
138 TEST_COMPARE (tests[i].tm.tm_mon, tms.tm_mon); in do_test()
139 TEST_COMPARE (tests[i].tm.tm_year, tms.tm_year); in do_test()
140 TEST_COMPARE (tests[i].tm.tm_mday, tms.tm_mday); in do_test()
141 TEST_COMPARE (tests[i].tm.tm_hour, tms.tm_hour); in do_test()
142 TEST_COMPARE (tests[i].tm.tm_min, tms.tm_min); in do_test()
143 TEST_COMPARE (tests[i].tm.tm_sec, tms.tm_sec); in do_test()