Make sure test-genrandom and test-chmtime are builtas part of the main build.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Apr 28, 2007 at 15:32 UTC
96651ef50837e1c121def715dcf7416e9bcb1d0b
1 file changed
+5
-1
Makefile
+5
-1
@@ -933,13 +933,17 @@ endif
933
934
### Testing rules
935
936
+TEST_PROGRAMS = test-chmtime$X test-genrandom$X
937
+
938
+all:: $(TEST_PROGRAMS)
939
+
940
# GNU make supports exporting all variables by "export" without parameters.
941
# However, the environment gets quite big, and some programs have problems
942
# with that.
943
944
export NO_SVN_TESTS
945
942
-test: all test-chmtime$X test-genrandom$X
946
+test: all
947
$(MAKE) -C t/ all
948
949
test-date$X: test-date.c date.o ctype.o