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 <petr.vorel@gmail.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
3537633dcf
commit
133c1a6c87
|
|
@ -54,6 +54,9 @@ distclean: clean
|
||||||
echo "Entering iproute2" && cd iproute2 && $(MAKE) distclean && cd ..;
|
echo "Entering iproute2" && cd iproute2 && $(MAKE) distclean && cd ..;
|
||||||
|
|
||||||
$(TESTS): testclean
|
$(TESTS): testclean
|
||||||
|
ifeq (,$(IPVERS))
|
||||||
|
$(error Please run make first)
|
||||||
|
endif
|
||||||
ifeq (,$(HAVE_UNSHARED_UTIL))
|
ifeq (,$(HAVE_UNSHARED_UTIL))
|
||||||
$(error Please install util-linux tools to run tests in separated network namespace)
|
$(error Please install util-linux tools to run tests in separated network namespace)
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue