diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-04 22:56:57 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-04 22:56:57 +0000 |
commit | d172b4507e982b0faf53283a1355c6e6c2f6808f (patch) | |
tree | 4d2280d5daa4919f6952688add9b87c8242dc294 /mutator.sh | |
parent | minor fixes (diff) | |
download | mutator-d172b4507e982b0faf53283a1355c6e6c2f6808f.tar.gz mutator-d172b4507e982b0faf53283a1355c6e6c2f6808f.zip |
now runs lvl 2 mutations.
Diffstat (limited to '')
-rwxr-xr-x | mutator.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -74,7 +74,8 @@ elif [[ "$COMMAND" == "build-all" ]]; then "make" all elif [[ "$COMMAND" == "run" ]];then echo "Running executables on target file..." - "./mutator" "$INPUT" -- > "$OUTPUT" + "./mutator" "$INPUT" -- > mutant-lvl1.c + "./mutator-lvl2" mutant-lvl1.c -- > $OUTPUT elif [[ "$COMMAND" == "default" ]]; then echo "Building all target executables..." "make" all @@ -82,7 +83,10 @@ elif [[ "$COMMAND" == "default" ]]; then "/home/bloodstalker/llvm-clang/build/bin/clang-format" $INPUT -- > $OUTPUT_FORMAT "cp" $OUTPUT_FORMAT ./medium.c echo "Running all exetubales on target input..." - "./mutator" "$OUTPUT_FORMAT" -- > "$OUTPUT" + echo "Level 1..." + "./mutator" "$OUTPUT_FORMAT" -- > mutant-lvl1.c + echo "Level 2..." + "./mutator-lvl2" mutant-lvl1.c -- > $OUTPUT echo 'Using clang-format to format the mutant...' "/home/bloodstalker/llvm-clang/build/bin/clang-format" $OUTPUT -- > $OUTPUT_FORMAT elif [[ "$COMMAND" == "jack" ]]; then |