diff options
author | bloodstalker <thabogre@gmail.com> | 2017-02-12 00:36:02 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-02-12 00:36:02 +0000 |
commit | 7a38b925b1d5ef1f34887b5153f54e2c9471ebce (patch) | |
tree | c7bfb9e0293b714a3b60363420819a831d58ba65 /extra-tools | |
parent | now make install makes the test script executable as well (diff) | |
download | mutator-7a38b925b1d5ef1f34887b5153f54e2c9471ebce.tar.gz mutator-7a38b925b1d5ef1f34887b5153f54e2c9471ebce.zip |
updated and fixed
Diffstat (limited to 'extra-tools')
-rwxr-xr-x | extra-tools/precommitTests.sh | 10 |
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 |