linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] testsuite: Do not run tests with *.ko.gz if zlib is not enabled
@ 2014-04-04  9:32 Michal Marek
  2014-04-04  9:32 ` [PATCH 2/3] testsuite: Mark empty tests as skipped Michal Marek
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Michal Marek @ 2014-04-04  9:32 UTC (permalink / raw)
  To: linux-modules

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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-04-04 10:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-04  9:32 [PATCH 1/3] testsuite: Do not run tests with *.ko.gz if zlib is not enabled Michal Marek
2014-04-04  9:32 ` [PATCH 2/3] testsuite: Mark empty tests as skipped Michal Marek
2014-04-04  9:32 ` [PATCH 3/3] testsuite: Warn if sysconfdir is not /etc Michal Marek
2014-04-04  9:39   ` [PATCH v2 " Michal Marek
2014-04-04  9:47 ` [PATCH 1/3] testsuite: Do not run tests with *.ko.gz if zlib is not enabled Lucas De Marchi
2014-04-04  9:59   ` Michal Marek
2014-04-04 10:06     ` Lucas De Marchi
2014-04-04 10:12       ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).