summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-09 01:37:54 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-09 01:37:54 +0300
commitc2db3a1b19fb89eaa12009fa4ffb70a7be6acc0f (patch)
tree6dbe07228dac91354b8948c891f6fe1ad0302c47 /test/Makefile
parent8b9fae9e094d1db4901829602f245fed789abbbe (diff)
downloadparanucker-c2db3a1b19fb89eaa12009fa4ffb70a7be6acc0f.tar.gz
paranucker-c2db3a1b19fb89eaa12009fa4ffb70a7be6acc0f.tar.bz2
paranucker-c2db3a1b19fb89eaa12009fa4ffb70a7be6acc0f.tar.xz
paranucker-c2db3a1b19fb89eaa12009fa4ffb70a7be6acc0f.zip
Add new tests 2, 3, 4.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 0acb4e2..40a48fc 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,4 +1,4 @@
-.PHONY: test1 test2 crashtest1 crashtest2 all crashes clean
+.PHONY: test1 test2 test3 test4 crashtest1 crashtest2 all crashes clean
.NOTPARALLEL: all allcrash
CC := gcc-5
@@ -7,7 +7,7 @@ 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 clean
+all: test1 test2 test3 test4 clean
crashes: crashtest1 crashtest2 clean
clean:
@@ -20,6 +20,13 @@ test1:
$(call CMD,dumpunsupported,test1.c,test1-04.txt)
test2:
$(call CMD,dump,test2.c,test2-01.txt)
+ $(call CMD,findargs,test2.c,test2-02.txt)
+test3:
+ $(call CMD,dump,test3.c,test3-01.txt)
+ $(call CMD,findargs,test3.c,test3-02.txt)
+test4:
+ $(call CMD,dump,test4.c,test4-01.txt)
+ $(call CMD,findargs,test4.c,test4-02.txt)
crashtest1:
$(call CMD,dump,crashtest1.h,crashtest1-01.txt)