aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2024-12-03 12:21:21 -0500
committerRyan Ofsky <ryan@ofsky.org>2024-12-03 12:21:31 -0500
commit8e02b480591008c457cc841050f6f755ff54fcba (patch)
treeb022b2771c44eb2c67fc5b1e70e6d704c4d165bd /ci
parentebe4cac38bf6c510b00b8e080acab079c54016d6 (diff)
parentfa5e7064597fc51366f082e3d07a4591e576db38 (diff)
Merge bitcoin/bitcoin#31284: ci: Skip broken Wine64 tests by default
fa5e7064597fc51366f082e3d07a4591e576db38 ci: Skip broken Wine64 tests by default (MarcoFalke) Pull request description: I don't think the unit tests run in Wine after the Windows cross-compilation have ever shown a true positive since the MSVC task was added. However, they are a source of frequent false-positives. Thus, disable them by default for now. Anyone can still enable them by setting `RUN_UNIT_TESTS=true`. A follow-up could run them on real Windows, see https://github.com/bitcoin/bitcoin/pull/31176. Conceptually there are many other nightly tasks, which rarely find issues and are not run by default, like the valgrind or s390x tasks. So putting the Wine unit tests in the same bucket should be fine. ACKs for top commit: hebasto: ACK fa5e7064597fc51366f082e3d07a4591e576db38, to avoid false-positives. willcl-ark: ACK fa5e7064597fc51366f082e3d07a4591e576db38 Tree-SHA512: 6bd54470e4d5ce18923c5d724aba0dbf475d053d7097d3f87e822a455cc537b6ce5f0dfcc8ccd0719c12c5d0c8fc7355a6c84185a6c9b5d484d98aee763d0c49
Diffstat (limited to 'ci')
-rwxr-xr-xci/test/00_setup_env_win64.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/test/00_setup_env_win64.sh b/ci/test/00_setup_env_win64.sh
index 15b9e407b6..25da64c524 100755
--- a/ci/test/00_setup_env_win64.sh
+++ b/ci/test/00_setup_env_win64.sh
@@ -11,6 +11,9 @@ export CI_IMAGE_NAME_TAG="docker.io/amd64/debian:bookworm" # Check that https:/
export HOST=x86_64-w64-mingw32
export DPKG_ADD_ARCH="i386"
export PACKAGES="nsis g++-mingw-w64-x86-64-posix wine-binfmt wine64 wine32 file"
+# Install wine, but do not run unit tests, as they surface frequent
+# false-positives.
+export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-false}
export RUN_FUNCTIONAL_TESTS=false
export GOAL="deploy"
# Prior to 11.0.0, the mingw-w64 headers were missing noreturn attributes, causing warnings when