]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
testsuite: Warn about empty $(IPVERS)
authorPetr Vorel <petr.vorel@gmail.com>
Wed, 19 Sep 2018 23:36:24 +0000 (01:36 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 21 Sep 2018 15:59:52 +0000 (08:59 -0700)
alltests target requires having symlink created by configure target
(default target). Without that there is no test being run.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
testsuite/Makefile

index 1c2467f5c9f00031baa2fb439b1c020f070eb452..b3aebec1517b2eab3ec91590ed1f6b185692d6f2 100644 (file)
@@ -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