summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-28 22:32:49 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-29 09:05:11 (GMT)
commit96651ef50837e1c121def715dcf7416e9bcb1d0b (patch)
tree4ec6f49bb56f85f712246ba883abb56bf75513f7 /Makefile
parente0173ad9fcabfcabe54d65be2c8b6602f61079e6 (diff)
downloadgit-96651ef50837e1c121def715dcf7416e9bcb1d0b.zip
git-96651ef50837e1c121def715dcf7416e9bcb1d0b.tar.gz
git-96651ef50837e1c121def715dcf7416e9bcb1d0b.tar.bz2
Make sure test-genrandom and test-chmtime are builtas part of the main build.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85c0a75..2fea115 100644
--- a/Makefile
+++ b/Makefile
@@ -933,13 +933,17 @@ endif
### Testing rules
+TEST_PROGRAMS = test-chmtime$X test-genrandom$X
+
+all:: $(TEST_PROGRAMS)
+
# GNU make supports exporting all variables by "export" without parameters.
# However, the environment gets quite big, and some programs have problems
# with that.
export NO_SVN_TESTS
-test: all test-chmtime$X test-genrandom$X
+test: all
$(MAKE) -C t/ all
test-date$X: test-date.c date.o ctype.o