make: make default rule 'aggregate' in sharness
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Dec 21, 2016 at 10:17 UTC
dd63187826f7fea29056cbd08983481c49cf1ceb
1 file changed
+5
-2
test/sharness/Makefile
+5
-2
@@ -1,7 +1,10 @@
1
-SH := $(wildcard *.sh)
1
+# default target is to run all tests
2
+all: aggregate
3
+
4
+SH := $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
5
6
.DEFAULT $(SH): ALWAYS
7
$(MAKE) -C ../.. test/sharness/$@
8
6
-ALWAYS:
9
+ALWAYS:
10
.PHONY: ALWAYS