From patchwork Wed Sep 19 23:36:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 972011 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="haMy7w2f"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42Fx8X5Fctz9sBq for ; Thu, 20 Sep 2018 09:36:44 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387405AbeITFRA (ORCPT ); Thu, 20 Sep 2018 01:17:00 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34085 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733138AbeITFQ7 (ORCPT ); Thu, 20 Sep 2018 01:16:59 -0400 Received: by mail-wr1-f66.google.com with SMTP id g33-v6so7490064wrd.1 for ; Wed, 19 Sep 2018 16:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DgCTmK/aG+9F3cJHRq/2f1SAPq//ro0bw4fKk7LMdZ4=; b=haMy7w2fbNGe9pk6/fveE6hV+MbfCsllHsOJ78a6nJmBiYZr7on+6gtk70Y+OXUK5n sv/3ZI0rs8v4uJz0/ehsn5k1ojnUZ0E+P2lDk9ZrdqUh51eBq9+7hTVw4qS5bY6vf82Y lXSGNSh0Nb6SKBWlLfhICusK0Hf/CaCDWtMr0mCiTI6zjFP+WSdIYavp+UiH4miycUc5 l/VuKfS2tFB4L5yKOmfjXvAKd/mfrB3Rigr+/K329YkH66UevlpeIg/nyilOQztmqjJT Rr3mxJNVBCLmh1Hgp31jq8LRHU5pPZLd9XkwAUjmY9QZGPcfbTmkuFAdBEE9EGWoKqgA cgfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DgCTmK/aG+9F3cJHRq/2f1SAPq//ro0bw4fKk7LMdZ4=; b=jSX4anHF/Ou+ufKwBtxud0v+bJ9BO/V3hGNibHDu9viyt8LoubviOGaLbhG9xSZdxY gT5dzroZmjuxu5UqXrJFeZMzuf/GE7phe/n2rbLYvx733eEjNHF7GQM4mZG6oN7PKJFH zc3bhrw6qjmC7heMrG3kgJUjNqIr/2TjiBc3WwHAFRazce6J5uClC/sVZvnaARJnmKV4 /UsVqfjqWUW6Su10pD62ROy/nx7ozubNC8yQL6u7dYPnMhPQEJbA3dM8PDwUuHLYO2zs aEs4LgQs02AVDwbTFw4vtlnjnPrKO5cLe52nivkEImvYe46MDYC6+yFYxNHqJdPigtzN 5vSA== X-Gm-Message-State: APzg51Ame7meaZsG1dWvJIVeE4Tc+khY1tsswZQ4YHk6fipHCNoQlbOR aufa+6SiYmKgD02rqaHkhFDPg7hK X-Google-Smtp-Source: ANB0VdYGuQt/97sJBbBaZCTn9Ng/EUG2YWCR5Um9sZ6CmMARKU6XrLjFJD2jUOrPKaCvY15+NDxITQ== X-Received: by 2002:a05:6000:c:: with SMTP id h12mr31329526wrx.103.1537400200314; Wed, 19 Sep 2018 16:36:40 -0700 (PDT) Received: from localhost.localdomain ([193.179.3.151]) by smtp.gmail.com with ESMTPSA id w10-v6sm21920537wrp.31.2018.09.19.16.36.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 16:36:39 -0700 (PDT) From: Petr Vorel To: netdev@vger.kernel.org Cc: Petr Vorel , Stephen Hemminger , Phil Sutter , Luca Boccassi Subject: [PATCH iproute2 v2 2/3] testsuite: Generate generate_nlmsg when needed Date: Thu, 20 Sep 2018 01:36:23 +0200 Message-Id: <20180919233624.18494-3-petr.vorel@gmail.com> X-Mailer: git-send-email 2.19.0.rc2 In-Reply-To: <20180919233624.18494-1-petr.vorel@gmail.com> References: <20180919233624.18494-1-petr.vorel@gmail.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Commit 886f2c43 added generate_nlmsg.c. Running alltests target, which uses the binary required to run 'make -C tools' before. Fixes: 886f2c43 testsuite: Generate nlmsg blob at runtime Signed-off-by: Petr Vorel --- testsuite/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/testsuite/Makefile b/testsuite/Makefile index a31d4531..1c2467f5 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -28,7 +28,7 @@ endif configure: echo "Entering iproute2" && cd iproute2 && $(MAKE) configure && cd ..; -compile: configure +compile: configure generate_nlmsg echo "Entering iproute2" && cd iproute2 && $(MAKE) && cd ..; listtests: @@ -36,7 +36,10 @@ listtests: echo "$$t"; \ done -alltests: $(TESTS) +generate_nlmsg: + $(MAKE) -C tools + +alltests: generate_nlmsg $(TESTS) testclean: @echo "Removing $(RESULTS_DIR) dir ..."