summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-04-13 14:50:58 +0100
committerRoy Marples <roy@marples.name>2017-04-13 14:50:58 +0100
commitea06be506a7cb14d6efca20b67160197d13948a8 (patch)
treeaf92a000cf18481ec95a37c7e8d02fc6b251419c /Makefile
parent6231a35b1a1aea14be67795682146c82ccec8ac2 (diff)
downloaddhcpcd-ea06be506a7cb14d6efca20b67160197d13948a8.tar.xz
Move test into tests.
Add new test, eloop-bench to benchmark eloop.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 658138f8..d90beae2 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ DISTINFOSIGN= ${DISTINFO}.asc
CLEANFILES+= *.tar.xz
-.PHONY: hooks import import-bsd test
+.PHONY: hooks import import-bsd tests
.SUFFIXES: .in
@@ -26,8 +26,10 @@ all: config.h
depend: config.h
for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@; cd ..; done
-test:
- cd $@; ${MAKE} $@; ./$@
+tests:
+ cd $@; ${MAKE} $@
+
+test: tests
hooks:
cd $@; ${MAKE}
@@ -43,7 +45,7 @@ proginstall:
clean:
rm -rf cov-int
- for x in ${SUBDIRS} test; do cd $$x; ${MAKE} $@; cd ..; done
+ for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@; cd ..; done
distclean: clean
rm -f config.h config.mk config.log \