aboutsummaryrefslogtreecommitdiffstats
path: root/mutator.sh
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-02-15 00:42:36 +0000
committerbloodstalker <thabogre@gmail.com>2017-02-15 00:42:36 +0000
commit6238ff5968a0b96fded46cb8d3bd120c98f73d57 (patch)
tree23cde8e426ce510f26f57c0c635f1620f7602e8b /mutator.sh
parentNow all sourcelocations are checked for validity before being touched (diff)
downloadmutator-6238ff5968a0b96fded46cb8d3bd120c98f73d57.tar.gz
mutator-6238ff5968a0b96fded46cb8d3bd120c98f73d57.zip
fixed some paths
Diffstat (limited to '')
-rwxr-xr-xmutator.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/mutator.sh b/mutator.sh
index ea775bc..9ba8439 100755
--- a/mutator.sh
+++ b/mutator.sh
@@ -52,12 +52,12 @@ do
-t|--test)
if [[ "$2" == mutator-lvl0 && "$3" == valgrind ]]; then
echo "Running command:"
- echo "valgrind ./"$2" -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/5.3.1/include > ./test/misra-log"
- "valgrind" ./"$2" -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/5.3.1/include > ./test/misra-log
+ echo "valgrind ./"$2" -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/6.3.1/include > ./test/misra-log"
+ "valgrind" ./"$2" -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/6.3.1/include > ./test/misra-log
elif [[ "$2" == mutator-lvl0 && "$3" == tdd ]]; then
echo "Running command:"
- echo "./mutator-lvl0 -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/5.3.1/include > ./test/misra-log"
- "./mutator-lvl0" -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/5.3.1/include > ./test/misra-log
+ echo "./mutator-lvl0 -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/6.3.1/include > ./test/misra-log"
+ "./mutator-lvl0" -SysHeader=false -MainOnly=true ./test/testFuncs1.c ./test/testFuncs2.c ./test/testFuncs3.c -- -std=c90 -I/lib/gcc/x86_64-redhat-linux/6.3.1/include > ./test/misra-log
elif [[ "$2" == mutator-lvl0 && "$3" == xsd ]]; then
echo "xmllint --noout --schema ./samples/mutator0-report-schema.xsd ./test/misrareport.xml"
"xmllint" --noout --schema ./samples/mutator0-report-schema.xsd ./test/misrareport.xml