From: Petr Vorel Date: Wed, 19 Sep 2018 23:36:24 +0000 (+0200) Subject: testsuite: Warn about empty $(IPVERS) X-Git-Tag: v4.19.0~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=133c1a6c8799d322a8a018bc49822c088bc5d5ac;p=thirdparty%2Fiproute2.git testsuite: Warn about empty $(IPVERS) alltests target requires having symlink created by configure target (default target). Without that there is no test being run. Signed-off-by: Petr Vorel Signed-off-by: Stephen Hemminger --- diff --git a/testsuite/Makefile b/testsuite/Makefile index 1c2467f5c..b3aebec15 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -54,6 +54,9 @@ distclean: clean echo "Entering iproute2" && cd iproute2 && $(MAKE) distclean && cd ..; $(TESTS): testclean +ifeq (,$(IPVERS)) + $(error Please run make first) +endif ifeq (,$(HAVE_UNSHARED_UTIL)) $(error Please install util-linux tools to run tests in separated network namespace) endif