From 7a38b925b1d5ef1f34887b5153f54e2c9471ebce Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 12 Feb 2017 04:06:02 +0330 Subject: updated and fixed --- extra-tools/precommitTests.sh | 10 ++++++++-- 1 file 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 -- cgit v1.2.3