We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fb4641 commit 7eac674Copy full SHA for 7eac674
README.md
@@ -22,7 +22,7 @@ $ cmake --build build --parallel
22
## Test
23
24
```bash
25
-$ build/bin/run_tests
+$ ctest --test-dir build
26
```
27
28
## Code coverage
test/CMakeLists.txt
@@ -4,3 +4,10 @@ add_executable(run_tests ${TEST_SRC_FILES})
4
target_link_libraries(run_tests PUBLIC
5
gtest_main
6
)
7
+
8
+if(NOT WIN32)
9
+ include(GoogleTest)
10
+ gtest_discover_tests(run_tests)
11
12
+ enable_testing()
13
+endif()
0 commit comments