diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-30 09:22:05 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-30 09:22:05 +0000 |
commit | 870ac7bde9936bb077e12ffadd679479046ef7df (patch) | |
tree | 9bc5052767fdb598c31ca06e0c2cf19da9361874 | |
parent | added xml output support for the misra report (diff) | |
download | mutator-870ac7bde9936bb077e12ffadd679479046ef7df.tar.gz mutator-870ac7bde9936bb077e12ffadd679479046ef7df.zip |
minor fix
-rwxr-xr-x | mutator.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -49,7 +49,9 @@ do while [[ $# -gt 0 ]] do case &arg in - + -*) + ;; + default) esac done ;; @@ -89,6 +91,8 @@ elif [[ "$COMMAND" == "run" ]];then "./mutator" "$INPUT" -- > mutant-lvl1.c "./mutator-lvl2" mutant-lvl1.c -- > $OUTPUT elif [[ "$COMMAND" == "misrac" ]]; then + echo "Removing previous XML report..." + "rm" ./test/misrareport.xml echo "checking input file(s) against Misra-C 2004..." "./mutator-lvl0" "$INPUT" -- > ./test/misra-log elif [[ "$COMMAND" == "default" ]]; then |