xz/tests
Lasse Collin ac3222d2cb Tests: Make test_compress.sh more flexible
Add a new optional second argument: directory of the xz and xzdec
executables. This is need with the CMake build where the binaries
end up in the top-level build directory.

If ../config.h doesn't exist, assume that all encoders and decoders
are available. This will make this script usable from CMake in the
most common build configuration.

NOTE: Since the existence of ../config.h is checked, the working
directory of the test script must be a subdir in the build tree!
Otherwise ../config.h would look outside the build tree.

Use the default check type instead of forcing CRC32 or CRC64.
Now the script doesn't need to check if CRC64 is available.
2024-05-20 16:55:00 +03:00
..
files Tests: Remove x86 and SPARC BCJ tests 2024-04-27 20:21:30 +03:00
ossfuzz tests/ossfuzz: Tiny fix to a comment. 2024-04-09 18:22:27 +03:00
Makefile.am CMake: Keep the build working if the "tests" directory is missing 2024-04-27 20:21:30 +03:00
code_coverage.sh Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
create_compress_files.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_bcj_exact_size.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_block_header.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_check.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_compress.sh Tests: Make test_compress.sh more flexible 2024-05-20 16:55:00 +03:00
test_compress_generated_abc Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_compress_generated_random Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_compress_generated_text Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_files.sh Remove the backdoor found in 5.6.0 and 5.6.1 (CVE-2024-3094). 2024-04-09 17:57:39 +03:00
test_filter_flags.c Tests: test_filter_flags: Edit comments and style 2024-04-22 18:35:19 +03:00
test_filter_str.c Tests: test_filter_str: Add a few assertions 2024-04-23 16:35:33 +03:00
test_hardware.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_index.c Tests: test_index: Fix failures when features are disabled 2024-04-28 01:34:50 +03:00
test_index_hash.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_lzip_decoder.c Tests: test_lzip_decoder: Tweak coding style and comments 2024-04-19 20:53:24 +03:00
test_memlimit.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_microlzma.c Tests: test_microlzma: Add a "FIXME?" about LZMA_FINISH handling 2024-04-13 22:39:10 +03:00
test_scripts.sh CMake: Add test_scripts.sh to the tests. 2024-02-19 12:21:37 +02:00
test_stream_flags.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
test_suffix.sh Tests: test_suffix.sh: Add a comment 2024-05-20 16:55:00 +03:00
test_vli.c Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
tests.cmake CMake: Prepare to support the test_*.sh tests 2024-05-20 16:55:00 +03:00
tests.h Add SPDX license identifier into 0BSD source code files. 2024-02-14 18:31:16 +02:00
tuktest.h Tests: tuktest.h: Treat Clang separately from GCC. 2024-02-14 21:12:58 +02:00
xzgrep_expected_output xzgrep: Improve the test script. 2014-06-13 18:58:22 +03:00