aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/distrib/cpp/run_distrib_test_cmake.bat
diff options
context:
space:
mode:
Diffstat (limited to 'test/distrib/cpp/run_distrib_test_cmake.bat')
-rw-r--r--test/distrib/cpp/run_distrib_test_cmake.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/distrib/cpp/run_distrib_test_cmake.bat b/test/distrib/cpp/run_distrib_test_cmake.bat
index f20721ce57..047846b0f1 100644
--- a/test/distrib/cpp/run_distrib_test_cmake.bat
+++ b/test/distrib/cpp/run_distrib_test_cmake.bat
@@ -15,6 +15,10 @@
@rem enter this directory
cd /d %~dp0\..\..\..
+@rem TODO(jtattermusch): Kokoro has pre-installed protoc.exe in C:\Program Files\ProtoC and that directory
+@rem is on PATH. To avoid picking up the older version protoc.exe, we change the path to something non-existent.
+set PATH=%PATH:ProtoC=DontPickupProtoC%
+
@rem Install into ./testinstall, but use absolute path and foward slashes
set INSTALL_DIR=%cd:\=/%/testinstall