From 3cc1dc39dc45c50f5faafa315013b5df626a9a73 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Tue, 27 Dec 2016 19:04:15 +0330 Subject: added a note regarding files including standard library headers --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7ce3816..6e89133 100644 --- a/README.md +++ b/README.md @@ -92,16 +92,16 @@ To run the executables with the mutator UI, you can use `mutator.sh`. For a list So for example if you want to run the TDD tests for the Misra-C checker, you run:
```bash -
-`./mutator.sh -c misrac -i ./test/testFuncs2.c ./test/testFuncs1.c -opts "-Wall"`
-
+ +./mutator.sh -c misrac -i ./test/testFuncs2.c ./test/testFuncs1.c -opts "-Wall"
+ ``` Do note that if your file has included standard header libraries, you do need to tell it where to look for them, so for the above example on Fedora, you would need to run:
```bash -
+ ./mutator.sh -c misrac -i ./test/testFuncs2.c ./test/testFuncs1.c -opts "-Wall -I/lib/gcc/x86_64-redhat-linux/5.3.1/include/"
-
+ ```
**mutator-lvl0** will run the Misra-C:2004 checks.
-- cgit v1.2.3