RFC: Build feature set shouldn't affect the total unit test list #35741

issue hebasto opened this issue on July 17, 2026
  1. hebasto commented at 2:07 PM on July 17, 2026: member

    Currently, the build system includes source files with unit tests depending on the actual build feature set, including options such as ENABLE_WALLET, ENABLE_IPC and BUILD_GUI_TESTS.

    This leads to confusion when test results from different builds are aggregated together, for example, in https://my.cdash.org/index.php?project=bitcoin-core. It raises questions about why the total number of tests differs across builds.

    The functional tests take a better approach by simply disabling tests for unavailable features.

    I believe the unit tests should adopt the same approach.

    In light of the ongoing modernization of the test framework (https://github.com/bitcoin/bitcoin/pull/33483 and #35713), I wonder whether those efforts are compatible with this idea.

  2. hebasto added the label Tests on Jul 17, 2026
  3. hebasto commented at 2:08 PM on July 17, 2026: member

    Related: #31576.

  4. maflcko added the label Build system on Jul 17, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-07-21 12:50 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me