summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-04-04 13:05:49 +0200
committerMichal Marek <mmarek@suse.cz>2014-04-04 13:05:49 +0200
commit81bf88d6c4a6897ae2700cd5fd4f801906c96f33 (patch)
tree908c380d5c3cd238ac709c910ee9b68588667515
parent73476ec5cb587e247662f8da9c60138f0a240d0e (diff)
downloadkmod-81bf88d6c4a6897ae2700cd5fd4f801906c96f33.tar.gz
kmod-81bf88d6c4a6897ae2700cd5fd4f801906c96f33.tar.bz2
kmod-81bf88d6c4a6897ae2700cd5fd4f801906c96f33.zip
testsuite: Do not run tests with *.ko.gz if zlib is not enabled
-rw-r--r--testsuite/test-depmod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/test-depmod.c b/testsuite/test-depmod.c
index b6023f1..25c2e9b 100644
--- a/testsuite/test-depmod.c
+++ b/testsuite/test-depmod.c
@@ -135,7 +135,9 @@ static DEFINE_TEST(depmod_search_order_same_prefix2,
static const struct test *tests[] = {
+#ifdef ENABLE_ZLIB
&sdepmod_modules_order_for_compressed,
+#endif
&sdepmod_search_order_simple,
&sdepmod_search_order_same_prefix,
&sdepmod_search_order_same_prefix2,