Skip to content

Commit fc6346d

Browse files
committed
Merge bitcoin#32389: doc: Fix test_bitcoin path
6cbc28b doc: Fix test_bitcoin path (monlovesmango) Pull request description: This commit fixes a couple command paths for interacting with the test_bitcoin binary within the Unit Test documentation. If the commands are run as is a `command not found` error is returned. ```bash ❯ test_bitcoin --list_content bash: test_bitcoin: command not found ``` ```bash ❯ test_bitcoin --help bash: test_bitcoin: command not found ``` ACKs for top commit: davidgumberg: ACK bitcoin@6cbc28b Tree-SHA512: 0b10bc3aead360fa499beef7c9715f95a9acacdda44cbfac15566428594a7a8bdece24114a42618355959e20754bedc7a903bdddbf21b819c7b75375bdc80a93
2 parents 68ac9f1 + 6cbc28b commit fc6346d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ and tests weren't explicitly disabled.
2222
The unit tests can be run with `ctest --test-dir build`, which includes unit
2323
tests from subtrees.
2424

25-
Run `test_bitcoin --list_content` for the full list of tests.
25+
Run `build/bin/test_bitcoin --list_content` for the full list of tests.
2626

2727
To run the unit tests manually, launch `build/bin/test_bitcoin`. To recompile
2828
after a test file was modified, run `cmake --build build` and then run the test again. If you
@@ -44,7 +44,7 @@ The `test_bitcoin` runner accepts command line arguments from the Boost
4444
framework. To see the list of arguments that may be passed, run:
4545

4646
```
47-
test_bitcoin --help
47+
build/bin/test_bitcoin --help
4848
```
4949

5050
For example, to run only the tests in the `getarg_tests` file, with full logging:

0 commit comments

Comments
 (0)