Skip to content

Commit 784a87e

Browse files
committed
fixup! doc: Update for CMake-based build system
Describe log output for failed tests.
1 parent 7c23041 commit 784a87e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ see `uint256_tests.cpp`.
110110
111111
### Logging and debugging in unit tests
112112
113-
`make check` will write to a log file `foo_tests.cpp.log` and display this file
113+
`ctest --test-dir build` will write to a log file `build/Testing/Temporary/LastTest.log`. You can
114+
additionaly use the `--output-on-failure` option to display logs of the failed tests automatically
114115
on failure. For running individual tests verbosely, refer to the section
115116
[above](#running-individual-tests).
116117

0 commit comments

Comments
 (0)