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
+7
-2
No files matched your search
+2
-1
@@ -8,4 +8,5 @@ build.win
|
||||
builddir
|
||||
.vs
|
||||
.vscode
|
||||
docs/_site
|
||||
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