From: Guanqun Lu Date: Wed, 4 Feb 2009 21:00:41 +0000 (+0800) Subject: add test-dump-cache-tree in Makefile X-Git-Tag: v1.6.1.3~1^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=37fc57a213c5dd7a15dfdf571ce4a58de124cb0f;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 186a8efd1..5de4247fb 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 similarity index 100% rename from dump-cache-tree.c rename to test-dump-cache-tree.c