Skip to content

Commit 64a7126

Browse files
committed
[ci skip] disable configure_make on windows
1 parent c91454e commit 64a7126

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/env_test/BUILD.bazel

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ load(":env_test_ninja.bzl", "env_test_ninja")
66

77
package(default_visibility = ["//test:__subpackages__"])
88

9+
_NOT_WINDOWS = select({
10+
"@platforms//os:windows": ["@platforms//:incompatible"],
11+
"//conditions:default": [],
12+
})
13+
14+
915
env_test_make(
1016
name = "make_default",
1117
check_makevars = {
@@ -110,6 +116,12 @@ env_test_configure_make(
110116
"INSTALLDIR": "{{INSTALLDIR}}",
111117
"MAKEFLAGS": "",
112118
},
119+
# srcdir ends up being C:/..., and then autotools looks for the aux files
120+
# using $srcdir$PATH_SEPARATOR$srcdir/.. and PATH_SEPARATOR is :, so the :
121+
# in the path breaks it.
122+
configure_make_attrs = {
123+
"target_compatible_with": _NOT_WINDOWS,
124+
},
113125
)
114126

115127
env_test_configure_make(
@@ -126,5 +138,6 @@ env_test_configure_make(
126138
},
127139
configure_make_attrs = {
128140
"resource_size": "tiny",
141+
"target_compatible_with": _NOT_WINDOWS,
129142
},
130143
)

0 commit comments

Comments
 (0)