summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2016-07-06 13:05:51 +0200
committerDave Reisner <dreisner@archlinux.org>2016-07-07 14:21:33 +0200
commita089c8622708d5249aa7830590464fb29dc799a4 (patch)
tree17fc700a3a687ff35817d9f0c7c9adf7c49102a2 /Makefile
parentd73d34e017ecb0e89c2de8e39da6b14afd6c5f1c (diff)
downloadmkinitcpio-a089c8622708d5249aa7830590464fb29dc799a4.tar.gz
mkinitcpio-a089c8622708d5249aa7830590464fb29dc799a4.tar.xz
add test harness for parse_cmdline
Some of these tests currently fail including hard failures where the shell quits entirely (this would lead to a kernel panic). A followup commit will rewrite the parse_cmdline function to improve it and fix these deficiencies.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5af0eb2..6c70718 100644
--- a/Makefile
+++ b/Makefile
@@ -74,6 +74,9 @@ man/%: man/%.txt Makefile
-a manversion=$(VERSION) \
-a manmanual="mkinitcpio manual" $<
+check:
+ @r=0; for t in test/test_*; do $$t || { echo $$t fail; r=1; }; done; exit $$r
+
clean:
$(RM) mkinitcpio-${VERSION}.tar.gz $(MANPAGES)