summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2023-02-05Add missing includeDavid Robillard1-0/+1
2023-02-04Suppress/fix clang-tidy warnings on WindowsDavid Robillard6-10/+24
2023-02-04Use a more realistic scenario for file locking testDavid Robillard1-1/+1
2023-02-04Check zix_ring_mlock() return valueDavid Robillard1-1/+2
2023-02-03Suppress/fix new warnings in clang-tidy 15David Robillard2-5/+4
2022-11-25Clean up test conditionsDavid Robillard1-20/+17
2022-11-25Constrain test parameters to reasonable limitsDavid Robillard4-8/+31
2022-11-25Avoid truncating test random seedDavid Robillard1-5/+6
2022-11-25Avoid dereference after null checkDavid Robillard1-3/+4
2022-11-25Consistently check write_to_path() return value in testsDavid Robillard1-1/+1
2022-11-25Fix potential use of close() on invalid file descriptorsDavid Robillard1-1/+15
2022-11-25Remove dead codeDavid Robillard1-6/+0
2022-11-17Remove ZixBitsetDavid Robillard3-73/+0
2022-11-02Remove function_types.hDavid Robillard2-2/+0
2022-11-02Suppress warnings in C++ testDavid Robillard1-0/+4
This is necessary because the global warnings may be stricter when building as a subproject.
2022-11-01Remove invalid test caseDavid Robillard1-2/+0
2022-10-23Add C++ header build testDavid Robillard1-0/+29
2022-10-23Add filesystem APIDavid Robillard4-2/+716
2022-10-23Add path APIDavid Robillard4-0/+1458
2022-10-23Add string view APIDavid Robillard1-0/+1
2022-10-23Split reference documentation up into groups and add global headerDavid Robillard1-0/+1
The "global" header just provides a convenient place to define the group structure of the library. Applications are better off using the individual headers, but this one will work fine if you don't care about build times or precise dependencies.
2022-10-21Split up common headerDavid Robillard6-6/+7
2022-10-21Hide errno utility functionsDavid Robillard1-23/+0
2022-10-18Use 0BSD for trivial "public domain intent" thingsDavid Robillard2-2/+2
2022-10-18Add stricter test for warnings in public headersDavid Robillard2-0/+35
2022-10-14Simplify clang-tidy configurationDavid Robillard1-8/+1
2022-10-14Fix zix_sem_timed_wait() interval calculationDavid Robillard1-1/+1
2022-09-02Improve test coverageDavid Robillard1-0/+1
2022-09-01Simplify thread and semaphore status codesDavid Robillard2-3/+3
2022-08-19Avoid unused parameter warningDavid Robillard1-0/+1
2022-08-19Simplify errno handlingDavid Robillard1-3/+3
2022-08-19Move sem implementation out of headerDavid Robillard1-1/+1
This avoids having platform conditionals in public headers, which causes build problems for dependants.
2022-08-18Relax test timingDavid Robillard1-1/+1
2022-08-18Add zix_sem_timed_wait()David Robillard1-0/+14
2022-08-18Fix semaphore error handlingDavid Robillard2-4/+17
Note that existing code which uses zix_sem_try_wait() may still compile against this change, but be incorrect!
2022-08-18Fix thread function attributes on WindowsDavid Robillard3-10/+5
2022-08-18Reduce tree test complexityDavid Robillard1-104/+77
2022-08-18Improve test coverageDavid Robillard2-4/+96
2022-08-18Fix or remove non-portable features in thread APIDavid Robillard3-12/+57
Thread function return values are inconsistent between nearly every threading API out there. So, just ignore them entirely, and provide a typedef and sentinel value so user code can be portable.
2022-08-18Factor out converting errno codes to ZixStatusDavid Robillard1-2/+31
2022-08-18Use conventional test executable namesDavid Robillard9-1/+5
2022-07-13Suppress new warnings in clang and clang-tidy 14David Robillard1-0/+2
2022-06-28Simplify clang-tidy configurationDavid Robillard1-2/+0
2022-06-28Use uppercase integer literal suffixesDavid Robillard9-80/+78
I give in.
2022-06-28Simplify dep5 file by adding license headers where possibleDavid Robillard1-0/+3
2022-06-28Fix build as C with MSVCDavid Robillard1-1/+1
2022-06-28Clean up build configurationDavid Robillard1-3/+0
2022-06-28Remove redundant includesDavid Robillard1-1/+0
This is implicitly included by <inttypes.h>.
2022-03-14Reduce default BTree test timeDavid Robillard1-1/+1
2021-12-17Suppress new warnings in clang-tidy 13David Robillard2-3/+4