aboutsummaryrefslogtreecommitdiffstats
path: root/mutator.sh
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-19 13:00:42 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-19 13:00:42 +0000
commit032009dac0448687ed001a67b40e1f02f9bd90d6 (patch)
treeccf6f6bfd76508ecef2e10e40a7c1f1778eea41b /mutator.sh
parentnew test files (diff)
downloadmutator-032009dac0448687ed001a67b40e1f02f9bd90d6.tar.gz
mutator-032009dac0448687ed001a67b40e1f02f9bd90d6.zip
minor change in the clean command and where build artefacts and outputs are stored.
Diffstat (limited to 'mutator.sh')
-rwxr-xr-xmutator.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/mutator.sh b/mutator.sh
index 0bf7e35..6826ff2 100755
--- a/mutator.sh
+++ b/mutator.sh
@@ -64,7 +64,11 @@ if [[ "$COMMAND" == "clean" ]]; then
echo "Running make clean..."
echo "Killing all mutants..."
"make" clean
- rm "$OUTPUT"
+ rm ./test/"$OUTPUT"
+ rm ./test/misra-log
+ rm ./test/medium.c
+ rm ./test/mutant_format.c
+ rm ./test/mutant-lvl1.c
elif [[ "$COMMAND" == "format" ]]; then
echo 'using clang-format to format the mutant...'
"/home/bloodstalker/llvm-clang/build/bin/clang-format" $OUTPUT > $OUTPUT_FORMAT