diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-07 18:52:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-07 18:52:03 +0300 |
commit | a2b5d4b53004059405c8e1c8bc957a084a3fc112 (patch) | |
tree | c3b3d6ce451c15093549813049e73eb5c8431637 /test/Makefile | |
parent | 9e26b7b9e4779f585a7e5a5cb4ea42518403ec46 (diff) | |
download | paranucker-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/Makefile | 9 |
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) |