diff options
author | bloodstalker <thabogre@gmail.com> | 2016-12-25 19:43:28 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-12-25 19:43:28 +0000 |
commit | e7c21eac8bae4341831e653a4478d5530476d82b (patch) | |
tree | 806f261be98fa92b753a7b066fb2bba2277336a8 | |
parent | now accepts options to pass to executables and list of input files, in other ... (diff) | |
download | mutator-e7c21eac8bae4341831e653a4478d5530476d82b.tar.gz mutator-e7c21eac8bae4341831e653a4478d5530476d82b.zip |
added updates for mutator.sh
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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/> |