aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index 29987210..498ff0f0 100644
--- a/README.md
+++ b/README.md
@@ -40,11 +40,12 @@ Testing
- To build test binaries as well, run `cmake -DBUILD_TESTS=OFF .` and after run `make tests` to run them, or you can run separate binaries.
- To use code sanitizers use:
- - cmake . -DSANITIZE_ADDRESS=ON
- - cmake . -DSANITIZE_MEMORY=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
- - cmake . -DSANITIZE_THREAD=ON
- - cmake . -DSANITIZE_UNDEFINED=ON
-
+ - `cmake . -DSANITIZE_ADDRESS=ON`
+ - `cmake . -DSANITIZE_MEMORY=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++`
+ - `cmake . -DSANITIZE_THREAD=ON`
+ - `cmake . -DSANITIZE_UNDEFINED=ON`
+ - Running valgrind example `valgrind --leak-check=yes --tool=memcheck ./nextpnr-ice40 --json ice40/blinky.json`
+
Running
--------