ci: RUN_UNIT_TESTS_SEQUENTIAL is broken on Windows #18768

issue hebasto opened this issue on April 25, 2020
  1. hebasto commented at 5:38 PM on April 25, 2020: member

    If the RUN_UNIT_TESTS_SEQUENTIAL variable is set to true the following message is printed in the Travis log:

    bash: /home/travis/build/hebasto/bitcoin/build/bitcoin-*/src/test/test_bitcoin: No such file or directory
    

    and no tests actually are executed.

    Related: #18562

  2. hebasto added the label Bug on Apr 25, 2020
  3. fanquake added the label Tests on Apr 25, 2020
  4. hebasto commented at 12:41 AM on April 26, 2020: member

    @MarcoFalke

    Example, please. Works for me:

    * https://travis-ci.org/github/bitcoin/bitcoin/jobs/672571896#L4000
    
    * https://travis-ci.org/github/bitcoin/bitcoin/jobs/679397430#L3994

    https://travis-ci.org/github/hebasto/bitcoin/jobs/679560355#L3321

    with the following patch:

    diff --git a/ci/test/00_setup_env_win64.sh b/ci/test/00_setup_env_win64.sh
    index 8f0c62a1a..c3f094bda 100644
    --- a/ci/test/00_setup_env_win64.sh
    +++ b/ci/test/00_setup_env_win64.sh
    @@ -9,6 +9,8 @@ export LC_ALL=C.UTF-8
     export CONTAINER_NAME=ci_win64
     export HOST=x86_64-w64-mingw32
     export PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64"
    +export RUN_UNIT_TESTS=false
    +export RUN_UNIT_TESTS_SEQUENTIAL=true
     export RUN_FUNCTIONAL_TESTS=false
     export GOAL="deploy"
     export BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests"
    
  5. MarcoFalke commented at 1:54 AM on April 26, 2020: member

    Windows executables end in .exe

  6. MarcoFalke renamed this:
    ci: RUN_UNIT_TESTS_SEQUENTIAL is broken
    ci: RUN_UNIT_TESTS_SEQUENTIAL is broken on Windows
    on Apr 26, 2020
  7. MarcoFalke commented at 3:06 PM on April 26, 2020: member

    Fixed in #18735

  8. MarcoFalke closed this on Apr 28, 2020

  9. MarcoFalke locked this on Feb 15, 2022

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-04-17 06:14 UTC

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