Merge bitcoin/bitcoin#32389: doc: Fix test_bitcoin path

6cbc28b8dd629062950f195facc009fd8ba86310 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 6cbc28b8dd

Tree-SHA512: 0b10bc3aead360fa499beef7c9715f95a9acacdda44cbfac15566428594a7a8bdece24114a42618355959e20754bedc7a903bdddbf21b819c7b75375bdc80a93
This commit is contained in:
merge-script 2025-05-01 10:21:31 +01:00
commit fc6346dbc8
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -22,7 +22,7 @@ and tests weren't explicitly disabled.
The unit tests can be run with `ctest --test-dir build`, which includes unit
tests from subtrees.
Run `test_bitcoin --list_content` for the full list of tests.
Run `build/bin/test_bitcoin --list_content` for the full list of tests.
To run the unit tests manually, launch `build/bin/test_bitcoin`. To recompile
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
framework. To see the list of arguments that may be passed, run:
```
test_bitcoin --help
build/bin/test_bitcoin --help
```
For example, to run only the tests in the `getarg_tests` file, with full logging: