From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Kozlov Subject: [PATCH 2/4] test: change lpm routes file from header to data file Date: Tue, 14 Jun 2016 15:03:28 +0200 Message-ID: <1465909410-4668-3-git-send-email-nikita@elyzion.net> References: <1462539092-24389-1-git-send-email-bruce.richardson@intel.com> <1465909410-4668-1-git-send-email-nikita@elyzion.net> Cc: Bruce Richardson To: dev@dpdk.org Return-path: Received: from mail.elyzion.net (freeside.gandi.net [217.70.181.31]) by dpdk.org (Postfix) with ESMTP id E0A7293F6 for ; Tue, 14 Jun 2016 15:03:34 +0200 (CEST) In-Reply-To: <1465909410-4668-1-git-send-email-nikita@elyzion.net> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Change the file extension of the test_lpm_routes file from .h to .dat. This makes the lines-of-code counts for DPDK more realistic as they are not affected by the huge counts from the lpm data. Signed-off-by: Nikita Kozlov Signed-off-by: Bruce Richardson --- app/test/Makefile | 1 + app/test/{test_lpm_routes.h => test_lpm_routes.dat} | 0 2 files changed, 1 insertion(+) rename app/test/{test_lpm_routes.h => test_lpm_routes.dat} (100%) diff --git a/app/test/Makefile b/app/test/Makefile index 7e4d484..a3f317d 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -118,6 +118,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_perf.c SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_functions.c SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_scaling.c +$(eval $(call linked_resource,test_lpm_data,test_lpm_routes.dat)) SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm.c SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm_perf.c SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm6.c diff --git a/app/test/test_lpm_routes.h b/app/test/test_lpm_routes.dat similarity index 100% rename from app/test/test_lpm_routes.h rename to app/test/test_lpm_routes.dat -- 2.8.1