From 413ab371b3cf087a07919736a072ab8a795db754 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 4 Nov 2016 08:38:48 +0330 Subject: minor change for llvm-format --- mutator.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mutator.sh') diff --git a/mutator.sh b/mutator.sh index 4cd5310..58da33d 100755 --- a/mutator.sh +++ b/mutator.sh @@ -78,8 +78,13 @@ elif [[ "$COMMAND" == "run" ]];then elif [[ "$COMMAND" == "default" ]]; then echo "Building all target executables..." "make" all + echo "Ruunning the input through clang-format..." + "/home/bloodstalker/llvm-clang/build/bin/clang-format" $INPUT -- > $OUTPUT_FORMAT + "cp" $OUTPUT_FORMAT ./medium.c echo "Running all exetubales on target input..." - "./mutator" "$INPUT" -- > "$OUTPUT" + "./mutator" "$OUTPUT_FORMAT" -- > "$OUTPUT" + echo 'Using clang-format to format the mutant...' + "/home/bloodstalker/llvm-clang/build/bin/clang-format" $OUTPUT -- > $OUTPUT_FORMAT elif [[ "$COMMAND" == "jack" ]]; then echo else -- cgit v1.2.3