From 784a87e26a5bac78615a566b0869c58c3746e06b Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 14 Aug 2024 18:16:49 +0100 Subject: [PATCH] fixup! doc: Update for CMake-based build system Describe log output for failed tests. --- src/test/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/README.md b/src/test/README.md index bab1a28f611ca..f3ff1ae8786c2 100644 --- a/src/test/README.md +++ b/src/test/README.md @@ -110,7 +110,8 @@ see `uint256_tests.cpp`. ### Logging and debugging in unit tests -`make check` will write to a log file `foo_tests.cpp.log` and display this file +`ctest --test-dir build` will write to a log file `build/Testing/Temporary/LastTest.log`. You can +additionaly use the `--output-on-failure` option to display logs of the failed tests automatically on failure. For running individual tests verbosely, refer to the section [above](#running-individual-tests).