aboutsummaryrefslogtreecommitdiff
path: root/tests/test_hardware.c
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2022-10-05 23:54:12 +0800
committerLasse Collin <lasse.collin@tukaani.org>2022-10-06 17:34:27 +0300
commit84963318952064a93bfc52edd6b0ef70593384ee (patch)
treec89b493e4f8c3cde1644c4e2e2810cdf35a358db /tests/test_hardware.c
parentTests: Include mythread.h in the tests that use MYTHREAD_ENABLED. (diff)
downloadxz-84963318952064a93bfc52edd6b0ef70593384ee.tar.xz
Tests: Fix compilation issues.
test_bcj_exact_size, test_check, test_hardware, and test_index will all now compile and skip properly if encoders or decoders are disabled. Also fixed a small typo (disabed -> disabled). Thanks to Sebastian Andrzej Siewior.
Diffstat (limited to 'tests/test_hardware.c')
-rw-r--r--tests/test_hardware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_hardware.c b/tests/test_hardware.c
index ee4434c1..c72d9b28 100644
--- a/tests/test_hardware.c
+++ b/tests/test_hardware.c
@@ -32,7 +32,7 @@ static void
test_lzma_cputhreads(void)
{
#ifndef MYTHREAD_ENABLED
- assert_skip("Threading support disabed");
+ assert_skip("Threading support disabled");
#else
if (lzma_cputhreads() == 0)
assert_skip("Could not determine cpu core count");