summaryrefslogtreecommitdiffstats
path: root/tests/xtime.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-run include-what-you-useTavian Barnes2024-03-111-2/+2
|
* tests/xtime: Add tests for integer overflowTavian Barnes2024-03-101-0/+28
|
* xtime: Call tzset() from main() instead of lazilyTavian Barnes2024-03-071-8/+2
| | | | | | | | | | | | | POSIX specifies[1] that If a thread accesses tzname, daylight, or timezone directly while another thread is in a call to tzset(), or to any function that is required or allowed to set timezone information as if by calling tzset(), the behavior is undefined. So calling it lazily from arbitrary threads is risky. [1]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tzset.html
* tests: New bfs_check() macroTavian Barnes2024-02-291-120/+100
| | | | | We now report failures and continue, rather than aborting after the first failure.
* tests: Add more datetime parsing integration testsTavian Barnes2024-02-291-3/+3
|
* xtime: Fix some xgetdate() bugsTavian Barnes2024-02-281-9/+93
| | | | And add some more test cases.
* tests: Merge unit test executables into oneTavian Barnes2024-01-121-0/+95