From e7c21eac8bae4341831e653a4478d5530476d82b Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 25 Dec 2016 23:13:28 +0330 Subject: added updates for mutator.sh --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'README.md') 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).
* `misrac` checks for misrac rules.
* `-v, --version` prints out the version.
-* `-i, --input, -input` lets you choose the input file that is going to be passed to the mutator executable(s).
+* `-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).
* `-o, --output, -output` lets you choose where to put the mutant.
+* `-opts --options, pass options to the executable(s). The executables support all the clang options. please enclose all the options in double quatation.`
+ +So for example if you want to run the TDD tests for the Misra-C checker, you run:
+
+`./mutator.sh -c misrac -i ./test/testFuncs2.c ./test/testFuncs1.c -opts "-Wall"`
+
+
**mutator-lvl0** will run the Misra-C:2004 checks.
**mutator** will run the level-1 Misra-C:2004 implementers.
-- cgit v1.2.3