aboutsummaryrefslogtreecommitdiff
path: root/tests/test_check.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/test_check.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_check.c b/tests/test_check.c
index fa1326d1..e059130d 100644
--- a/tests/test_check.c
+++ b/tests/test_check.c
@@ -235,6 +235,9 @@ test_lzma_get_check_st(void)
static void
test_lzma_get_check_mt(void)
{
+#ifndef MYTHREAD_ENABLED
+ assert_skip("Threading support disabed");
+#else
const uint32_t flags = LZMA_TELL_ANY_CHECK |
LZMA_TELL_UNSUPPORTED_CHECK |
LZMA_TELL_NO_CHECK;
@@ -311,6 +314,7 @@ test_lzma_get_check_mt(void)
#endif
lzma_end(&strm);
+#endif
}