aboutsummaryrefslogtreecommitdiffstats
path: root/extra-tools
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-02-12 00:36:02 +0000
committerbloodstalker <thabogre@gmail.com>2017-02-12 00:36:02 +0000
commit7a38b925b1d5ef1f34887b5153f54e2c9471ebce (patch)
treec7bfb9e0293b714a3b60363420819a831d58ba65 /extra-tools
parentnow make install makes the test script executable as well (diff)
downloadmutator-7a38b925b1d5ef1f34887b5153f54e2c9471ebce.tar.gz
mutator-7a38b925b1d5ef1f34887b5153f54e2c9471ebce.zip
updated and fixed
Diffstat (limited to 'extra-tools')
-rwxr-xr-xextra-tools/precommitTests.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/extra-tools/precommitTests.sh b/extra-tools/precommitTests.sh
index 5810baf..5c4501a 100755
--- a/extra-tools/precommitTests.sh
+++ b/extra-tools/precommitTests.sh
@@ -25,10 +25,16 @@ fi
"./mutator-lvl0" -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/6.3.1/include -Wall > ./test/misra-log
if [[ $? == 0 ]]; then
- echo "${Green}mutator-lvl0 smoke test on the tdds passed.\n${NC}"
+ printf "${Green}mutator-lvl0 smoke test on the tdds passed.\n${NC}"
else
- echo "${Red}mutator-lvl0 smoke test on the tdds failed.\n${NC}"
+ printf "${Red}mutator-lvl0 smoke test on the tdds failed.\n${NC}"
fi
+"./mutator.sh" -t mutator-lvl0 xsd
+if [[ $? == 0 ]];then
+ printf "${Green}c++11 mutator-lvl0 xml report xsd passed.\n${NC}"
+else
+ printf "${Green}c++11 mutator-lvl0 xml report xsd passed.\n${NC}"
+fi