add test-dump-cache-tree in Makefile
authorGuanqun Lu <guanqun.lu@gmail.com>
Wed, 4 Feb 2009 21:00:41 +0000 (05:00 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Feb 2009 06:11:44 +0000 (22:11 -0800)
5c5ba73 (Makefile: Use generic rule to build test programs,
2007-05-31) tried to use generic rule to build test programs, but it
misses the file 'dump-cache-tree.c', since its name is not prefixed by
'test-'.  This commit solves this little problem by renaming this file
instead of carrying out an explicit rule in Makefile.

Signed-off-by: Guanqun Lu <guanqun.lu@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
test-dump-cache-tree.c [moved from dump-cache-tree.c with 100% similarity]

index 186a8efd1b74a0510e67e75a6191206a1a6818c2..5de4247fbd88c0ae45bf4d825b901ea92fb12483 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1301,7 +1301,7 @@ endif
 
 ### Testing rules
 
-TEST_PROGRAMS = test-chmtime$X test-genrandom$X test-date$X test-delta$X test-sha1$X test-match-trees$X test-parse-options$X test-path-utils$X
+TEST_PROGRAMS = test-chmtime$X test-dump-cache-tree$X test-genrandom$X test-date$X test-delta$X test-sha1$X test-match-trees$X test-parse-options$X test-path-utils$X
 
 all:: $(TEST_PROGRAMS)
 
similarity index 100%
rename from dump-cache-tree.c
rename to test-dump-cache-tree.c