mirror of
https://git.tukaani.org/xz.git
synced 2026-10-31 03:14:56 +00:00
Tests: Fix test_index.c when encoding support is disabled
Fixes: 10dfae83fd3b ("Tests: test_index: Add a test for the Index decoder memusage bug")
This commit is contained in:
parent
0352dc7929
commit
d4edae32b6
@ -1625,8 +1625,8 @@ test_lzma_index_decoder(void)
|
|||||||
static void
|
static void
|
||||||
test_lzma_index_decoder_memusage(void)
|
test_lzma_index_decoder_memusage(void)
|
||||||
{
|
{
|
||||||
#ifndef HAVE_DECODERS
|
#if !defined(HAVE_ENCODERS) || !defined(HAVE_DECODERS)
|
||||||
assert_skip("Decoder support disabled");
|
assert_skip("Encoder or decoder support disabled");
|
||||||
#else
|
#else
|
||||||
assert_uint(decode_buffer_size, >, 20);
|
assert_uint(decode_buffer_size, >, 20);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user