diff options
author | bloodstalker <thabogre@gmail.com> | 2017-01-31 14:09:53 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-01-31 14:09:53 +0000 |
commit | 614b9823cef4cf9038e5ceadfc9d2796eaa8e71c (patch) | |
tree | 50f1b6c082fedb910837a29e80ec02e2ede7961d /mutator.sh | |
parent | added the namespace attibute to the xml report (diff) | |
download | mutator-614b9823cef4cf9038e5ceadfc9d2796eaa8e71c.tar.gz mutator-614b9823cef4cf9038e5ceadfc9d2796eaa8e71c.zip |
temporarily fixed the auto-refac option
Diffstat (limited to '')
-rwxr-xr-x | mutator.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -212,10 +212,11 @@ elif [[ "$COMMAND" == "auto-refac" ]]; then RUN_INPUT_ARR=$(ls ./temp | gawk 'BEGIN{RS="\n"}{print $1}') for loopinput in ${RUN_INPUT_ARR[@]}; do echo mut1-$loopinput - echo "Running automatic-refactoring on copies of input(s)..." - "./mutator-lvl1" ./temp/$loopinput -- > ./temp/mut1-$loopinput + echo "Running automatic-refactoring on input mut1-$loopinput..." + "./mutator-lvl1" ./temp/$loopinput -- -w > ./temp/mut1-$loopinput "clang-format" -i $loopinput - "./mutator-lvl2" ./temp/mut1-$loopinput -- > ./temp/mut2-$loopinput + "./mutator-lvl2" ./temp/mut1-$loopinput -- -w > ./temp/mut2-$loopinput + "clang-format" -i ./temp/mut2-$loopinput done elif [[ "$COMMAND" == "jack" ]]; then echo |