summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Guanqun Lu <guanqun.lu@gmail.com>2009-02-05 05:00:41 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-03 22:11:44 -0800
commit37fc57a213c5dd7a15dfdf571ce4a58de124cb0f (patch)
tree4551f40aa8a8835fccb8ce850941d9cecba269dd
parentfix typo in Documentation (diff)
downloadtgif-37fc57a213c5dd7a15dfdf571ce4a58de124cb0f.tar.xz
add test-dump-cache-tree in Makefile
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>
-rw-r--r--Makefile2
-rw-r--r--test-dump-cache-tree.c (renamed from dump-cache-tree.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 186a8efd1b..5de4247fbd 100644
--- 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)
diff --git a/dump-cache-tree.c b/test-dump-cache-tree.c
index 1f73f1ea7d..1f73f1ea7d 100644
--- a/dump-cache-tree.c
+++ b/test-dump-cache-tree.c