aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2017-05-11 04:11:59 -0400
committerGravatar Kristina Chodorow <kchodorow@google.com>2017-05-11 10:49:33 -0400
commit686dd375601aa0633d882664fc1542d0a2832352 (patch)
tree99710024b4b1b833dcd264f297c2022f5aee2385 /src/test
parent17296dade40a2094672e79978d4602d6704dfcc3 (diff)
Windows, integration test: add fake msys root
Workaround for https://github.com/bazelbuild/bazel/issues/2983 Change-Id: Ib7eb2acff9a3bd1eee304d2d329d2a525a91eee1 PiperOrigin-RevId: 155722499
Diffstat (limited to 'src/test')
-rwxr-xr-xsrc/test/shell/bazel/bazel_windows_example_test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/shell/bazel/bazel_windows_example_test.sh b/src/test/shell/bazel/bazel_windows_example_test.sh
index e62dc95b1c..f4e4a3a5f2 100755
--- a/src/test/shell/bazel/bazel_windows_example_test.sh
+++ b/src/test/shell/bazel/bazel_windows_example_test.sh
@@ -35,6 +35,9 @@ function set_up() {
copy_examples
setup_bazelrc
cat >>"$TEST_TMPDIR/bazelrc" <<EOF
+# Workaround for https://github.com/bazelbuild/bazel/issues/2983
+startup --host_jvm_args=-Dbazel.windows_unix_root=C:/fake/msys
+
startup --batch
build --cpu=x64_windows_msvc
EOF