aboutsummaryrefslogtreecommitdiff
path: root/tests/tuktest.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-02-14Change most public domain parts to 0BSD.Lasse Collin1-3/+0
Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt were not touched. COPYING.0BSD was added.
2023-01-08Tests: tuktest.h: Support tuktest_malloc(0).Lasse Collin1-2/+2
It's not needed in XZ Utils at least for now. It's good to support it still because if such use is needed later, it wouldn't be caught on GNU/Linux since malloc(0) from glibc returns non-NULL.
2022-09-09Tests: Silence warnings about unused functions from tuktest.h.Lasse Collin1-0/+10
Warnings about unused tuktest_run_test conveniently tell which test programs haven't been converted to tuktest.h yet but I silenced that warning too for now anyway. It is fine to use __attribute__((__unused__)) even when the function is actually used because the attribute only means that the function might be unused.
2022-06-16Tests: tuktest.h: Add tuktest_error_impl to help with error conditions.Lasse Collin1-40/+32
2022-06-16Tests: tuktest.h: Rename file_from_* and use tuktest_malloc there.Lasse Collin1-28/+24
2022-06-16Tests: tuktest.h: Add malloc wrapper with automatic freeing.Lasse Collin1-0/+124
2022-06-16Tests: tuktest.h: Move a function.Lasse Collin1-22/+22
2022-06-14Tests: Add file reading helpers to tuktest.h.Lasse Collin1-7/+176
2022-06-14Tests: tuktest.h: Move a printf from a macro to a helper function.Lasse Collin1-8/+18
2022-06-02Tests: Add tuktest.h mini-test-framework.Lasse Collin1-0/+752