Commit 6d5031fd for xz

commit 6d5031fdf81b6bb5b718d1d155f252fac18c8a4d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   Thu Nov 5 18:45:17 2026 +0200

    Tests: Fix the build when decoders are disabled

    Fixes: 13fc756371c5 ("Tests: Add decode_byte_by_byte and use it from test_files.sh")

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5327cd00..9699cec9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -37,7 +37,6 @@ endif

 check_PROGRAMS = \
 	create_compress_files \
-	decode_byte_by_byte \
 	test_check \
 	test_hardware \
 	test_stream_buffer_decode \
@@ -76,6 +75,10 @@ TESTS = \
 	test_compress_generated_random \
 	test_compress_generated_text

+if COND_DECODER_LZMA1
+check_PROGRAMS += decode_byte_by_byte
+endif
+
 if COND_MICROLZMA
 check_PROGRAMS += test_microlzma
 TESTS += test_microlzma