From ca65dbb9f21f724c051c5c267125dc7bda23d68f Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 29 Jan 2017 06:45:44 +0330 Subject: there was one instance of mutator not changed to mutator-lvl1 --- mutator.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mutator.sh') diff --git a/mutator.sh b/mutator.sh index 5337f77..3788bd0 100755 --- a/mutator.sh +++ b/mutator.sh @@ -203,6 +203,7 @@ elif [[ "$COMMAND" == "default" ]]; then echo "Using clang-format to format the mutant..." "clang-format" ./test/$OUTPUT -- > ./test/$OUTPUT_FORMAT elif [[ "$COMMAND" == "auto-refac" ]]; then + echo "Warning! This option is not yet completely implemented." echo "Copying input file(s) to temp..." CP_INPUT_ARR=$(echo "$INPUT" | awk 'BEGIN{RS=" "}{print $1}') echo $CP_INPUT_ARR @@ -211,7 +212,7 @@ 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 - "./mutator" ./temp/$loopinput -- > ./temp/mut1-$loopinput + "./mutator-lvl1" ./temp/$loopinput -- > ./temp/mut1-$loopinput echo "Running automatic-refactoring on copies of input(s)..." "clang-format" -i $loopinput done -- cgit v1.2.3