aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-29 03:15:44 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-29 03:15:44 +0000
commitca65dbb9f21f724c051c5c267125dc7bda23d68f (patch)
tree73d2bcd02aa02bbfe70eff8284d057a740bf5816
parentchanged the name of th emutator namespace from xs to mutator (diff)
downloadmutator-ca65dbb9f21f724c051c5c267125dc7bda23d68f.tar.gz
mutator-ca65dbb9f21f724c051c5c267125dc7bda23d68f.zip
there was one instance of mutator not changed to mutator-lvl1
-rwxr-xr-xmutator.sh3
1 files changed, 2 insertions, 1 deletions
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