[PATCH 1/3] testsuite: Do not run tests with *.ko.gz if zlib is not enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Unfortunately, all the depmod tests depend on zlib.
---
 testsuite/test-depmod.c   | 2 ++
 testsuite/test-modprobe.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/testsuite/test-depmod.c b/testsuite/test-depmod.c
index b6023f1..86e89a4 100644
--- a/testsuite/test-depmod.c
+++ b/testsuite/test-depmod.c
@@ -135,10 +135,12 @@ static DEFINE_TEST(depmod_search_order_same_prefix2,
 
 
 static const struct test *tests[] = {
+#ifdef ENABLE_ZLIB
 	&sdepmod_modules_order_for_compressed,
 	&sdepmod_search_order_simple,
 	&sdepmod_search_order_same_prefix,
 	&sdepmod_search_order_same_prefix2,
+#endif
 	NULL,
 };
 
diff --git a/testsuite/test-modprobe.c b/testsuite/test-modprobe.c
index d7663e6..c49e75b 100644
--- a/testsuite/test-modprobe.c
+++ b/testsuite/test-modprobe.c
@@ -332,7 +332,9 @@ static const struct test *tests[] = {
 	&smodprobe_show_alias_to_none,
 	&smodprobe_builtin,
 	&smodprobe_softdep_loop,
+#ifdef ENABLE_ZLIB
 	&smodprobe_install_cmd_loop,
+#endif
 	&smodprobe_param_kcmdline,
 	&smodprobe_param_kcmdline2,
 	&smodprobe_param_kcmdline3,
-- 
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux