xz-analysis-mirror/tests
Lasse Collin 0c210ca7f4 Tests: test_filter_flags: Clean up minor issues.
Here are the list of the most significant issues addressed:
- Avoid using internal common.h header. It's not good to copy the
constants like this but common.h cannot be included for use outside
of liblzma. This is the quickest thing to do that could be fixed later.

- Omit the INIT_FILTER macro. Initialization should be done with just
regular designated initializers.

- Use start_offset = 257 for BCJ tests. It demonstrates that Filter
Flags encoder and decoder don't validate the options thoroughly.
257 is valid only for the x86 filter. This is a bit silly but
not a significant problem in practice because the encoder and
decoder initialization functions will catch bad alignment still.
Perhaps this should be fixed but it's not urgent and doesn't need
to be in 5.4.x.

- Various tweaks to comments such as filter id -> Filter ID
2023-01-09 20:35:20 +08:00
..
files Tests: Fix a typo in tests/files/README. 2022-12-13 12:30:45 +02:00
ossfuzz Use $(LIB_FUZZING_ENGINE) in tests/ossfuzz/Makefile. 2020-01-19 21:54:33 +02:00
Makefile.am Tests: Creates test_index_hash.c 2023-01-02 22:20:04 +08:00
bcj_test.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
code_coverage.sh Created script to generate code coverage reports. 2022-07-10 22:42:22 +03:00
compress_prepared_bcj_sparc Recreated the BCJ test files for x86 and SPARC. The old files 2009-02-06 09:13:15 +02:00
compress_prepared_bcj_x86 Recreated the BCJ test files for x86 and SPARC. The old files 2009-02-06 09:13:15 +02:00
create_compress_files.c Tests: Replace non portable shell parameter expansion 2023-01-04 23:58:58 +08:00
test_bcj_exact_size.c Tests: test_bcj_exact_size skips properly now if PowerPC filter disabled. 2022-10-26 20:12:01 +03:00
test_block_header.c Tests: Refactor test_block_header.c. 2022-10-06 21:51:48 +03:00
test_check.c Tests: test_check: Test corner cases of CLMUL CRC64. 2022-12-30 20:10:08 +02:00
test_compress.sh Tests: Adjust style in test_compress.sh. 2023-01-04 18:40:28 +02:00
test_compress_generated_abc Tests: Split test_compress.sh into separate test unit for each file. 2022-05-23 21:31:20 +03:00
test_compress_generated_random Tests: Split test_compress.sh into separate test unit for each file. 2022-05-23 21:31:20 +03:00
test_compress_generated_text Tests: Split test_compress.sh into separate test unit for each file. 2022-05-23 21:31:20 +03:00
test_compress_prepared_bcj_sparc Tests: Replace non portable shell parameter expansion 2023-01-04 23:58:58 +08:00
test_compress_prepared_bcj_x86 Tests: Replace non portable shell parameter expansion 2023-01-04 23:58:58 +08:00
test_files.sh Tests: Add two ARM64 test files. 2022-12-13 12:30:09 +02:00
test_filter_flags.c Tests: test_filter_flags: Clean up minor issues. 2023-01-09 20:35:20 +08:00
test_hardware.c Tests: Fix compilation issues. 2022-10-06 17:34:27 +03:00
test_index.c Tests: Fix compilation issues. 2022-10-06 17:34:27 +03:00
test_index_hash.c Tests: test_index_hash: Add an assert_uint_eq(). 2023-01-06 17:58:48 +02:00
test_lzip_decoder.c Tests: Clarify a comment in test_lzip_decoder.c. 2022-12-30 19:36:49 +02:00
test_memlimit.c Tests: Fix a warning in test_memlimit.c when decoders are disabled. 2022-10-19 17:14:57 +03:00
test_scripts.sh Tests: Skip tests in test_*.sh if encoders and/or decoders are disabled. 2022-10-19 19:39:35 +03:00
test_stream_flags.c Tests: Refactor test_stream_flags.c. 2022-10-06 22:06:17 +03:00
test_vli.c Tests: Fix compilation issues. 2022-10-06 17:34:27 +03:00
tests.h Tests: Add more tests into test_check. 2022-06-16 17:39:59 +03:00
tuktest.h Tests: tuktest.h: Support tuktest_malloc(0). 2023-01-08 00:32:29 +02:00
xzgrep_expected_output xzgrep: Improve the test script. 2014-06-13 18:58:22 +03:00