diff options
author | merge-script <fanquake@gmail.com> | 2024-08-28 17:33:34 +0100 |
---|---|---|
committer | merge-script <fanquake@gmail.com> | 2024-08-28 17:33:34 +0100 |
commit | 4ee1940e849efe8fb1510b11d78399231df4b578 (patch) | |
tree | 2db54fe1dcb8ae58176c2b7cb892665150ed7a96 /src/test | |
parent | d184fc3ba411ffb10117bc7b9ebf498233288218 (diff) | |
parent | 7ee5c3c5b2fb477a283df8861e28005ef514bd20 (diff) |
Merge bitcoin/bitcoin#30734: doc: fix a few likely documentation typos related to CMake migration
7ee5c3c5b2fb477a283df8861e28005ef514bd20 Fix a few likely documentation typos (LÅ‘rinc)
Pull request description:
Found them during CMake migration - and ran a quick spellcheck for the rest to cover any remaining ones
ACKs for top commit:
maflcko:
lgtm ACK 7ee5c3c5b2fb477a283df8861e28005ef514bd20
Tree-SHA512: c6e7aa1e952e0d093745c4e6004c3907b7a215c6f998cc205307c0c68abcc067bf3f56e22af0deb1710186e8a871306f4bae8a35c74581e5299abcbbcddfaa75
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/README.md b/src/test/README.md index ace2b0b0cb..a6e89aac80 100644 --- a/src/test/README.md +++ b/src/test/README.md @@ -17,7 +17,7 @@ during the generation of the Bitcoin Core build system and tests weren't explicitly disabled. Assuming the build directory is named `build`, the unit tests can be run -with `ctests --test-dir build`, which includes unit tests from subtrees. +with `ctest --test-dir build`, which includes unit tests from subtrees. To run the unit tests manually, launch `build/src/test/test_bitcoin`. To recompile after a test file was modified, run `cmake --build build` and then run the test again. If you @@ -83,7 +83,7 @@ so no leftover state is used.) ```bash $ build/src/test/test_bitcoin --run_test=getarg_tests/doubledash -- -testdatadir=/somewhere/mydatadir -Test directory (will not be deleted): "/somewhere/mydatadir/test_common_Bitcoin Core/getarg_tests/doubledash/datadir +Test directory (will not be deleted): "/somewhere/mydatadir/test_common_Bitcoin Core/getarg_tests/doubledash/datadir" Running 1 test case... *** No errors detected @@ -112,8 +112,8 @@ see `uint256_tests.cpp`. ### Logging and debugging in unit tests -`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 +`ctest --test-dir build` will write to the log file `build/Testing/Temporary/LastTest.log`. You can +additionally 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). @@ -150,5 +150,5 @@ You can then explore the core dump using ```bash gdb build/src/test/test_bitcoin core -(gbd) bt # produce a backtrace for where a segfault occurred +(gdb) bt # produce a backtrace for where a segfault occurred ``` |