tests/test-localtime_r.c


Log

Author Commit Date CI Message
Bruno Haible 3a5f5178 2024-05-18T21:32:01 tests: Support showing all assertion failures, not just the first one. * tests/macros.h (CONTINUE_AFTER_ASSERT): New macro. (test_exit_status): New variable. (ASSERT, ASSERT_NO_STDIO): If CONTINUE_AFTER_ASSERT is 1, set test_exit_status instead of aborting. * tests/**/test-*.{c,h,cc} (main): Instead of exiting with exit code 0, exit with exit code test_exit_status. * tests/test-spawn-pipe-child.c: Undefine CONTINUE_AFTER_ASSERT. * tests/uninorm/test-nf*.c: Include macros.h. * tests/uninorm/test-u32-nf*-big.c: Likewise. * tests/random*.c: Define NO_MAIN_HERE.
Bruno Haible 2c04db80 2024-03-30T22:50:39 time_r tests: Avoid misleading skip message on native Windows. * tests/test-localtime_r.c (main): Use the macro FRENCH_TZ. * tests/test-localtime_r-mt.c (main): Likewise.
Paul Eggert f130f542 2024-03-30T13:28:01 time_r-tests: skip French tests if no Europe/Paris * tests/test-localtime_r.c (main): * tests/test-localtime_r-mt.c (main): If TZ='Europe/Paris' does not work, skip these tests.
Bruno Haible 10321db3 2024-02-11T11:23:14 time_r: Add tests. * lib/time_r.c: Add comment. * tests/test-gmtime_r.c: New file. * tests/test-gmtime_r-mt.c: New file, based on tests/test-nl_langinfo-mt.c. * tests/test-localtime_r.c: New file. * tests/test-localtime_r-mt.c: New file, based on tests/test-nl_langinfo-mt.c. * modules/time_r-tests: New file.