qa: Run all tests even if wallet is not compiled#14180
Conversation
|
Travis run for reference: https://travis-ci.org/bitcoin/bitcoin/jobs/426386820#L2937 |
Note to reviewers: This pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
This PR includes a commit that's also present in #14179 (fae497d). What's the relationship between the two PRs? |
|
This is based on #14179, since that is a requirement. |
|
Concept ACK. It's useful to (occasionally) run the test suite without wallet (and other stuff) compiled. Quite a few tests are skipped this way, but that can be improved later. That might require pre-generated transactions (only when How will this interact with #10102 (multi process), which has one binary with and one without a wallet? cc @ryanofsky. I imagine a common test configuration involves one wallet binary to generate transactions as well as one node binary. I tested on macOS (only the Can you add one |
Agree that this can be improved later. Skipping quite a few tests is better than skipping all tests. |
There was a problem hiding this comment.
nit: could invert the conditional / drop the continue
cb49baa to
fad40c9
Compare
fad40c9 to
fac9539
Compare
👍 I do think this combination needs to be tested in Travis, though, or it's going to code-rot. At least I never run the tests without wallet. |
|
@laanwj the x86_64 Linux, No wallet Travis host already runs this: |
|
Concept ACK |
|
utACK |
fac9539 qa: Run all tests even if wallet is not compiled (MarcoFalke) faa669c qa: Premine to deterministic address with -disablewallet (MarcoFalke) Pull request description: Currently the test_runner would exit if the wallet was not compiled into the Bitcoin Core executable. However, a lot of the tests run without the wallet just fine and there is no need to globally require the wallet to run the tests. Tree-SHA512: 63177260aa29126fd20f0be217a82b10b62288ab846f96f1cbcc3bd2c52702437703475d91eae3f8d821a3149fc62b725a4c5b2a7b3657b67ffcbc81532a03bb
Github-Pull: bitcoin#14180 Rebased-From: faa669c
Github-Pull: bitcoin#14180 Rebased-From: fac9539
Github-Pull: bitcoin#14180 Rebased-From: faa669c
Github-Pull: bitcoin#14180 Rebased-From: fac9539
…h -disablewallet Signed-off-by: pasta <pasta@dashboost.org>
…h -disablewallet Signed-off-by: pasta <pasta@dashboost.org>

Currently the test_runner would exit if the wallet was not compiled into the Bitcoin Core executable. However, a lot of the tests run without the wallet just fine and there is no need to globally require the wallet to run the tests.