mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Tests: test_bcj_exact_size skips properly now if PowerPC filter disabled.
This commit is contained in:
parent
89c5cfcaca
commit
ce30ada919
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ test_empty_block(void)
|
||||||
#ifndef HAVE_DECODERS
|
#ifndef HAVE_DECODERS
|
||||||
assert_skip("Decoder support disabled");
|
assert_skip("Decoder support disabled");
|
||||||
#else
|
#else
|
||||||
|
if (!lzma_filter_decoder_is_supported(LZMA_FILTER_POWERPC))
|
||||||
|
assert_skip("PowerPC BCJ decoder is disabled");
|
||||||
|
|
||||||
// An empty file with one Block using PowerPC BCJ and LZMA2.
|
// An empty file with one Block using PowerPC BCJ and LZMA2.
|
||||||
size_t in_size;
|
size_t in_size;
|
||||||
uint8_t *empty_bcj_lzma2 = tuktest_file_from_srcdir(
|
uint8_t *empty_bcj_lzma2 = tuktest_file_from_srcdir(
|
||||||
|
|
Loading…
Reference in a new issue