summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-07 18:52:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-07 18:52:03 +0300
commita2b5d4b53004059405c8e1c8bc957a084a3fc112 (patch)
treec3b3d6ce451c15093549813049e73eb5c8431637 /test/Makefile
parent9e26b7b9e4779f585a7e5a5cb4ea42518403ec46 (diff)
downloadparanucker-a2b5d4b53004059405c8e1c8bc957a084a3fc112.tar.gz
paranucker-a2b5d4b53004059405c8e1c8bc957a084a3fc112.tar.bz2
paranucker-a2b5d4b53004059405c8e1c8bc957a084a3fc112.tar.xz
paranucker-a2b5d4b53004059405c8e1c8bc957a084a3fc112.zip
Add another crash test.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile
index 0a2eb36..ac92b30 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,4 +1,4 @@
-.PHONY: test1 test2 crashtest1 all allcrash clean
+.PHONY: test1 test2 crashtest1 crashtest2 all crashes clean
.NOTPARALLEL: all allcrash
CC := gcc-5
@@ -7,9 +7,8 @@ CXX := g++-5
PLUGIN = ../build/src/.libs/astdumper.so
CMD = ${CXX} -fplugin=${PLUGIN} -fplugin-arg-astdumper-command=${1} ${2} -o a.out 2>${3}
-all: test1 test2 allcrash clean
-
-allcrash: crashtest1
+all: test1 test2 clean
+crashes: crashtest1 crashtest2 clean
clean:
@rm a.out 2>/dev/null || true
@@ -21,3 +20,5 @@ test2:
crashtest1:
$(call CMD,dump,crashtest1.h,crashtest1-01.txt)
+crashtest2:
+ $(call CMD,dump,crashtest2.h,crashtest2-01.txt)