summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
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)