aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-25 19:43:28 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-25 19:43:28 +0000
commite7c21eac8bae4341831e653a4478d5530476d82b (patch)
tree806f261be98fa92b753a7b066fb2bba2277336a8
parentnow accepts options to pass to executables and list of input files, in other ... (diff)
downloadmutator-e7c21eac8bae4341831e653a4478d5530476d82b.tar.gz
mutator-e7c21eac8bae4341831e653a4478d5530476d82b.zip
added updates for mutator.sh
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index 782cddf..2f1e0a7 100644
--- a/README.md
+++ b/README.md
@@ -76,8 +76,15 @@ To run the executables with the mutator UI, you can use `mutator.sh`. For a list
* `test` runs the tests on the executables and checks the results (not implemented yet).<br/>
* `misrac` checks for misrac rules.<br/>
* `-v, --version` prints out the version.<br/>
-* `-i, --input, -input` lets you choose the input file that is going to be passed to the mutator executable(s).<br/>
+* `-i, --input, -input` lets you choose the input file(or a white-space-separated list of files) that is going to be passed to the mutator executable(s).<br/>
* `-o, --output, -output` lets you choose where to put the mutant.<br/>
+* `-opts --options, pass options to the executable(s). The executables support all the clang options. please enclose all the options in double quatation.`<br/>
+
+So for example if you want to run the TDD tests for the Misra-C checker, you run:<br/>
+<br/>
+`./mutator.sh -c misrac -i ./test/testFuncs2.c ./test/testFuncs1.c -opts "-Wall"`<br/>
+<br/>
+
<br/>
**mutator-lvl0** will run the Misra-C:2004 checks.<br/>
**mutator** will run the level-1 Misra-C:2004 implementers.<br/>