Please check if your PR fulfills the following requirements:
[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Build was run locally and without warnings or errors
[X] All previous and new tests pass
Pull request type
Please check the type of change your PR introduces:
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming, typo fix)
- [X] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
## What is the current behavior?
The current test_index.c is using the old test format and is largely incomplete.
Related Issue URL:
What is the new behavior?
Creates helpful mask macros for return values from lzma_index_checks()
Refactors test_index.c to use tuktest and cover more API functions
Allow test_index.c to function properly if encoders or decoders are not built
Pull request checklist
Please check if your PR fulfills the following requirements:
Pull request type
Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming, typo fix) - [X] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior?The current test_index.c is using the old test format and is largely incomplete.
Related Issue URL:
What is the new behavior?
Does this introduce a breaking change?
Other information