Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin/bitcoin#31617: build, test: Build
db_tests.cpp
regard…
…less of `USE_BDB` fd2d96d build, test: Build `db_tests.cpp` regardless of `USE_BDB` (Hennadii Stepanov) Pull request description: When the building of `db_tests.cpp` was made conditional on `USE_BDB` in commit a58b719, all `db_tests` were indeed specific to BDB wallets. However, the tests have since been [extended](bitcoin/bitcoin@ba616b9) to include SQLite wallets as well. On the master branch @ 433412f, tests specific to SQLite wallets are not built and run if configured with `WITH_BDB=OFF` (the default option). This PR resolves this issue by guarding BDB-specific code in `db_tests.cpp` and ensuring this source file is compiled regardless of the `WITH_BDB` option. ACKs for top commit: achow101: ACK fd2d96d maflcko: review ACK fd2d96d 🔺 theuni: utACK fd2d96d Tree-SHA512: bd9eddf16af60c568e931467d39e9e23a268e82e367ab630c23ac3cfd37e6007c6d78579b69ccbeebc1911c749cdbe75794fd56d7fbdb30c6fea6d2ab11017a3
- Loading branch information