Skip to content

Commit 65e159c

Browse files
committed
fix windows integration test failure; use regular common_workspace_flags config for windows
1 parent 0d3ea78 commit 65e159c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.bazelci/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ tasks:
142142
platform: macos
143143
windows_workspace:
144144
<<: *reusable_config
145-
<<: *common_workspace_flags_min_bazel
145+
<<: *common_workspace_flags
146146
name: "Default: Windows, workspace"
147147
platform: windows
148148

tests/integration/local_toolchains/test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ def test_python_from_path_used(self):
1818
[shell_path, "-c", "import sys; print(sys.executable)"],
1919
text=True,
2020
)
21-
expected = expected.strip()
22-
self.assertEqual(expected, sys.executable)
21+
expected = expected.strip().lower()
22+
# Normalize case: Windows may have case differences
23+
self.assertEqual(expected.lower(), sys.executable.lower())
2324

2425

2526
if __name__ == "__main__":

0 commit comments

Comments
 (0)