aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-24 07:17:05 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-24 07:17:05 +0000
commit486d5176749922bf0eb1ffc7d99a4b1b62740be3 (patch)
tree11003906abc925aab4d6a900ededd2e430d8058a /mk
parent1c9c2f9fcffdc5d66af6e4b3dbf506985ebe438a (diff)
setup a bit of a test framework
Diffstat (limited to 'mk')
-rw-r--r--mk/scripts.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk
index 3021c92c..146b56a5 100644
--- a/mk/scripts.mk
+++ b/mk/scripts.mk
@@ -43,6 +43,7 @@ realinstall: ${BIN} ${CONF} ${CONF_APPEND}
install: all realinstall ${INSTALLAFTER}
check test::
+ @if test -e runtests.sh ; then ./runtests.sh || exit $$? ; fi
# A lot of scripts don't have anything to clean
# Also, some rm implentation require a file argument regardless of error