From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Subject: [PATCH iproute2 v2 3/3] testsuite: Warn about empty $(IPVERS) Date: Thu, 20 Sep 2018 01:36:24 +0200 Message-ID: <20180919233624.18494-4-petr.vorel@gmail.com> References: <20180919233624.18494-1-petr.vorel@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Petr Vorel , Stephen Hemminger , Phil Sutter , Luca Boccassi To: netdev@vger.kernel.org Return-path: Received: from mail-wm1-f46.google.com ([209.85.128.46]:55733 "EHLO mail-wm1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731442AbeITFRH (ORCPT ); Thu, 20 Sep 2018 01:17:07 -0400 Received: by mail-wm1-f46.google.com with SMTP id f21-v6so7953950wmc.5 for ; Wed, 19 Sep 2018 16:36:49 -0700 (PDT) In-Reply-To: <20180919233624.18494-1-petr.vorel@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: alltests target requires having symlink created by configure target (default target). Without that there is no test being run. Signed-off-by: Petr Vorel --- testsuite/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsuite/Makefile b/testsuite/Makefile index 1c2467f5..b3aebec1 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 -- 2.19.0.rc2