Commit 63335e4a for xz

commit 63335e4ad9f27a013e1c90b488875988d9bd1306
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   Mon Nov 30 18:27:38 2026 +0200

    Tests: test_raw: Really fix the build when features are disabled

diff --git a/tests/test_raw.c b/tests/test_raw.c
index 34f4fa58..8163af00 100644
--- a/tests/test_raw.c
+++ b/tests/test_raw.c
@@ -12,14 +12,6 @@
 #include "tests.h"


-static const uint8_t preset_dict[] = { 1, 2, 3, 4, 1, 2, 3, 4 };
-
-static uint8_t in[16] = { 1, 2, 3, 4,  1, 2, 3, 4,
-			  9, 0, 0, 0,  0, 0, 0, 0 };
-static uint8_t encoded[128];
-static uint8_t decoded[16];
-
-
 // Before the commit
 // "liblzma: Silence Valgrind and -fsanitize=memory with a preset dictionary":
 // This can fail with -fsanitize=memory or with Valgrind due to the use of
@@ -31,6 +23,13 @@ test_preset_dict(void)
 #if !defined(HAVE_ENCODERS) || !defined(HAVE_DECODERS)
 	assert_skip("Encoder or decoder support disabled");
 #else
+	static const uint8_t preset_dict[] = { 1, 2, 3, 4, 1, 2, 3, 4 };
+
+	static const uint8_t in[16] = { 1, 2, 3, 4,  1, 2, 3, 4,
+					9, 0, 0, 0,  0, 0, 0, 0 };
+	uint8_t encoded[128];
+	uint8_t decoded[16];
+
 	lzma_options_lzma opt_lzma2;
 	assert_false(lzma_lzma_preset(&opt_lzma2, 4));