summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuanqun Lu <guanqun.lu@gmail.com>2009-02-04 21:00:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-04 06:11:44 (GMT)
commit37fc57a213c5dd7a15dfdf571ce4a58de124cb0f (patch)
tree4551f40aa8a8835fccb8ce850941d9cecba269dd
parentc9a8abcf9a9997d463a6a05668fd9a90a26df1f2 (diff)
downloadgit-37fc57a213c5dd7a15dfdf571ce4a58de124cb0f.zip
git-37fc57a213c5dd7a15dfdf571ce4a58de124cb0f.tar.gz
git-37fc57a213c5dd7a15dfdf571ce4a58de124cb0f.tar.bz2
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 186a8ef..5de4247 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 1f73f1e..1f73f1e 100644
--- a/dump-cache-tree.c
+++ b/test-dump-cache-tree.c