[dpdk-dev,RFC,4/4] test: change lpm routes file from header to data file

Message ID 1462539092-24389-5-git-send-email-bruce.richardson@intel.com (mailing list archive)
State RFC, archived
Delegated to: Thomas Monjalon
Headers

Commit Message

Bruce Richardson May 6, 2016, 12:51 p.m. UTC
  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: Bruce Richardson <bruce.richardson@intel.com>
---
 app/test/Makefile                                   | 2 +-
 app/test/{test_lpm_routes.h => test_lpm_routes.dat} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename app/test/{test_lpm_routes.h => test_lpm_routes.dat} (100%)
  

Patch

diff --git a/app/test/Makefile b/app/test/Makefile
index 94ba990..9107a91 100644
--- a/app/test/Makefile
+++ b/app/test/Makefile
@@ -125,7 +125,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 resource,test_lpm_data,test_lpm_routes.h))
+$(eval $(call resource,test_lpm_data,test_lpm_routes.dat))
 SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm.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