mirror of
https://github.com/likle/cwalk.git
synced 2026-10-28 09:44:01 +00:00
added ENABLE_TESTS flag to documentation
This commit is contained in:
1 parent
3583a61007
commit
6a7c37d41b
2 files changed
+6
-1
No files matched your search
@@ -9,3 +9,4 @@ builddir
|
||||
.vs
|
||||
.vscode
|
||||
docs/_site
|
||||
docs/.jekyll-cache
|
||||
+5
-1
@@ -34,8 +34,12 @@ cmake ..
|
||||
make
|
||||
```
|
||||
# Running Tests
|
||||
After building **cwalk** you can run tests to ensure everything is fine. In order to do that, make sure that you are in the build folder and then execute the test program:
|
||||
In order to run tests, cwalk needs to be built with tests enabled. There is a ``ENABLE_TESTS`` flag for that. It can be passed to the cmake command like this:
|
||||
```
|
||||
cmake .. -DENABLE_TESTS=1
|
||||
```
|
||||
|
||||
After building **cwalk** you can run tests to ensure everything is fine. In order to do that, make sure that you are in the build folder and then execute the test program:
|
||||
```bash
|
||||
./cwalktest
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user