[dpdk-dev] [PATCH v2 5/5] test: change lpm routes file from header to data file

Thomas Monjalon thomas.monjalon at 6wind.com
Sat Jul 16 01:05:28 CEST 2016


2016-07-14 17:06, Bruce Richardson:
> 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 at intel.com>
> ---
>  app/test/Makefile                                   | 2 +-
>  app/test/{test_lpm_routes.h => test_lpm_routes.dat} | 0

The size of the git tree significantly increase after renaming this file:
	git -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0
	-c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now gc
	--aggressive && du -sk .git
28272   .git
	git am
	git -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0
	-c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now gc
	--aggressive && du -sk .git
33188   .git

I think it would be better to replace this huge file by a script generating
the test resource.



More information about the dev mailing list