aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/distrib
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-11-15 10:48:05 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-12-01 10:07:43 +0100
commita5f05c70f1d71862959833c2a49e5ccdd68be27c (patch)
tree76521adb2dd4b667b7d9769bf159e3d723903360 /test/distrib
parent27d254ad78ad462e0187cee0641ee5bb0be92d4d (diff)
avoid picking up ProtoC
Diffstat (limited to 'test/distrib')
-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