Run coverage functional tests in parallel #26736

issue aureleoules openend this issue on December 21, 2022
  1. aureleoules commented at 10:10 am on December 21, 2022: member

    Is your feature request related to a problem? Please describe. It currently does not seem possible to execute the functional tests in parallel when running make cov. Thus it makes running this command very slow.

    https://github.com/bitcoin/bitcoin/blob/6d40a1a7e7f09ff2c32e53237f968adf8300d028/Makefile.am#L215-L247

    Describe the solution you’d like Run test coverage functional tests with make cov -j8 or FUNCTIONAL_TESTS_JOBS=8 make cov ?

  2. aureleoules added the label Feature on Dec 21, 2022
  3. maflcko commented at 10:31 am on December 21, 2022: member

    Maybe we could replace --enable-extended-functional-tests with a TEST_RUNNER_EXTRA env var, similar to the one in ./ci/?

    Locally I use an ugly sed hack for now:

    0sed -i 's|functional/test_runner.py |functional/test_runner.py --timeout-factor=10 --exclude=feature_dbcrash |g' ./Makefile.am
    
  4. maflcko added the label Tests on Dec 21, 2022
  5. willcl-ark commented at 3:04 pm on October 14, 2024: member

    This was probably resolved by cmake.

    If this is not the case then please leave a message here and we can reopen it.

  6. willcl-ark closed this on Oct 14, 2024

  7. hebasto commented at 8:37 am on October 15, 2024: member

    This was probably resolved by cmake.

    From the “Compiling for test coverage” section of Developer Notes:

    To enable test parallelism:

    cmake -DJOBS=$(nproc) -P build/Coverage.cmake
    

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: 2025-01-20 00:12 UTC

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