From patchwork Thu Feb 16 14:57:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ferruh Yigit X-Patchwork-Id: 20499 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 0428CD592; Thu, 16 Feb 2017 15:58:11 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 55F595A3E for ; Thu, 16 Feb 2017 15:57:58 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2017 06:57:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,169,1484035200"; d="scan'208";a="46156347" Received: from sivswdev02.ir.intel.com ([10.237.217.46]) by orsmga002.jf.intel.com with ESMTP; 16 Feb 2017 06:57:56 -0800 From: Ferruh Yigit To: Thomas Monjalon Cc: dev@dpdk.org, Ferruh Yigit , Bruce Richardson , John McNamara , Keith Wiles Date: Thu, 16 Feb 2017 14:57:45 +0000 Message-Id: <20170216145746.28610-4-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20170216145746.28610-1-ferruh.yigit@intel.com> References: <20170215152632.25081-1-ferruh.yigit@intel.com> <20170216145746.28610-1-ferruh.yigit@intel.com> Subject: [dpdk-dev] [PATCH v2 4/5] mk: rename test related make rules X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Make rules renamed to a common syntax, test-x: fast_test -> test-fast ring_test -> test-ring mempool_test -> test-mempool perf_test -> test-perf These are to run various sub-set of the unit tests. Not touched to make rules that are already following the syntax: test-basic test-build test Signed-off-by: Ferruh Yigit Acked-by: Bruce Richardson --- mk/rte.sdkroot.mk | 4 ++-- mk/rte.sdktest.mk | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk index 498a85e..7598bde 100644 --- a/mk/rte.sdkroot.mk +++ b/mk/rte.sdkroot.mk @@ -92,8 +92,8 @@ default: all config showconfigs showversion showversionum: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkconfig.mk $@ -.PHONY: test test-basic fast_test ring_test mempool_test perf_test coverage -test test-basic fast_test ring_test mempool_test perf_test coverage: +.PHONY: test test-basic test-fast test-ring test-mempool test-perf coverage +test test-basic test-fast test-ring test-mempool test-perf coverage: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktest.mk $@ .PHONY: test-buid diff --git a/mk/rte.sdktest.mk b/mk/rte.sdktest.mk index d61d4d0..9cc7d59 100644 --- a/mk/rte.sdktest.mk +++ b/mk/rte.sdktest.mk @@ -46,14 +46,14 @@ DIR := $(shell basename $(RTE_OUTPUT)) # # test: launch auto-tests, very simple for now. # -.PHONY: test test-basic fast_test perf_test coverage +.PHONY: test test-basic test-fast test-perf coverage PERFLIST=ring_perf,mempool_perf,memcpy_perf,hash_perf,timer_perf coverage: BLACKLIST=-$(PERFLIST) -fast_test: BLACKLIST=-$(PERFLIST) -perf_test: WHITELIST=$(PERFLIST) +test-fast: BLACKLIST=-$(PERFLIST) +test-perf: WHITELIST=$(PERFLIST) -test test-basic fast_test perf_test: +test test-basic test-fast test-perf: @mkdir -p $(AUTOTEST_DIR) ; \ cd $(AUTOTEST_DIR) ; \ if [ -f $(RTE_OUTPUT)/app/test ]; then \