summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-09 21:55:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-09 21:55:57 +0300
commit38c14fcd1a86c2c8a4bda7e745b04a9f7137e988 (patch)
treed218603b1fbd2416036a416d6eb1ea5063b5d807 /test/Makefile
parentc0e08008b734f7d3504e95ff064e4cba090c60a8 (diff)
downloadparanucker-38c14fcd1a86c2c8a4bda7e745b04a9f7137e988.tar.gz
paranucker-38c14fcd1a86c2c8a4bda7e745b04a9f7137e988.tar.bz2
paranucker-38c14fcd1a86c2c8a4bda7e745b04a9f7137e988.tar.xz
paranucker-38c14fcd1a86c2c8a4bda7e745b04a9f7137e988.zip
Update test5 into tests.
Also switch language to english in tests.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index a0aa921..65bdd9f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,13 +1,13 @@
-.PHONY: test1 test2 test3 test4 crashtest1 crashtest2 all crashes clean
+.PHONY: test1 test2 test3 test4 test5 crashtest1 crashtest2 all crashes clean
.NOTPARALLEL: all allcrash
CC := gcc-5
CXX := g++-5
PLUGIN = ../build/src/.libs/astdumper.so
-CMD = ${CXX} -c -fplugin=${PLUGIN} -fplugin-arg-astdumper-command=${1} ${2} -o a.out 2>${3}
+CMD = LANG=C ${CXX} -c -fplugin=${PLUGIN} -fplugin-arg-astdumper-command=${1} ${2} -o a.out 2>${3}
-all: test1 test2 test3 test4 clean
+all: test1 test2 test3 test4 test5 clean
crashes: crashtest1 crashtest2 clean
clean:
@@ -27,6 +27,10 @@ test3:
test4:
$(call CMD,dump,test4.c,test4-01.txt)
$(call CMD,findargs,test4.c,test4-02.txt)
+test5:
+ $(call CMD,dump,test5.c,test5-01.txt)
+ $(call CMD,findargs,test5.c,test5-02.txt)
+ $(call CMD,detectnullpointers,test5.c,test5-03.txt)
crashtest1:
$(call CMD,dump,crashtest1.h,crashtest1-01.txt)