From c8a89ec432f5987a4892e2416e6062f9e6e267f9 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Thu, 27 Aug 2015 00:16:35 +0100 Subject: [PATCH] Open modules during make test. --- Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.in b/Makefile.in index 44426702..395adc0e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -222,5 +222,10 @@ uninstall: test: unittest $(Q)./unittest + # The following is only for coverage to see that we also have modules, which (theoretically) should be tested too. + # It exploits the fact that ZNC opens every module on startup to check whether it was installed properly or not. + # This should be replaced by a better integration test at some point. + # Also it uses files at /lib/znc, which is less than ideal, especially from build scripts of distros. + $(Q)./znc --makeconf --datadir $(shell pwd)/empty-dir-for-test < /dev/null || true -include $(wildcard .depend/*.dep)