aboutsummaryrefslogtreecommitdiff
path: root/tests/test_hardware.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-06Tests: Fix compilation issues.Jia Tan1-1/+1
test_bcj_exact_size, test_check, test_hardware, and test_index will all now compile and skip properly if encoders or decoders are disabled. Also fixed a small typo (disabed -> disabled). Thanks to Sebastian Andrzej Siewior.
2022-10-05Tests: Include mythread.h in the tests that use MYTHREAD_ENABLED.Lasse Collin1-0/+1
2022-10-05Tests: Fix compilation error when threading support has been disabled.Jia Tan1-0/+4
Now tests that require threading are skipped when threading support has been disabled. Thanks to Sebastian Andrzej Siewior.
2022-06-10Tests: Created tests for hardware functions.Jia Tan1-0/+45
Created tests for all API functions exported in src/liblzma/api/lzma/hardware.h. The tests are fairly trivial but are helpful because they will inform users if their machines cannot support these functions. They also improve the code coverage metrics.