aboutsummaryrefslogtreecommitdiffstats
path: root/tests/inc/test_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Add make sanitize target for AddressSanitizer leak checksThomas Vanbesien2026-02-211-2/+10
| | | | | | Add EXTRA variable to both Makefiles for passing extra compiler flags. Update _s_crashes() to detect ASan-intercepted crashes (non-zero exit) and suppress ASan noise from intentional NULL dereference tests.
* Restructure project layout and clean up test suiteThomas Vanbesien2026-02-211-0/+246
Move sources to src/, header to inc/, and tests to tests/src/. Update Makefiles and .gitignore for the new layout. Refactor test harness: add crash-wrapper macros (_S_CRASH, _S_CRASH_I, _S_CRASH_V, _S_CRASH_BUF) replacing 58 hand-written wrappers, add shared _s_test_int_range helper eliminating duplicate _s_test_func, add _S_RAND_ITERS constant, move srand() to main() in all test binaries, and add Doxygen comments to test_utils.h.