[llvm] [CAS] Disable CASTests on Windows versions before windows 11 (PR #170420)
Steven Wu via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 2 20:16:57 PST 2025
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/170420
Disable test due to CASTests failing nondeterministically on some
windows CI.
>From 5c06121f3e8d09145ba87f7aeb631c0eeaf84fc1 Mon Sep 17 00:00:00 2001
From: Steven Wu <stevenwu at apple.com>
Date: Tue, 2 Dec 2025 20:16:47 -0800
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.7
---
llvm/unittests/CAS/CASTestConfig.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/llvm/unittests/CAS/CASTestConfig.h b/llvm/unittests/CAS/CASTestConfig.h
index 20a95dd2f6aa6..e3139c931ddd6 100644
--- a/llvm/unittests/CAS/CASTestConfig.h
+++ b/llvm/unittests/CAS/CASTestConfig.h
@@ -74,7 +74,8 @@ class CASTest
void SetUp() override {
#ifdef _WIN32
- if (llvm::GetWindowsOSVersion() < llvm::VersionTuple(10, 0, 0, 17763))
+ // Temporarily disable CAS tests on pre windows 11 OS.
+ if (llvm::GetWindowsOSVersion() < llvm::VersionTuple(10, 0, 0, 22000))
GTEST_SKIP() << "CAS tests skipped on older windows version";
#endif
NextCASIndex = 0;
More information about the llvm-commits
mailing list