From a5f05c70f1d71862959833c2a49e5ccdd68be27c Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 15 Nov 2017 10:48:05 +0100 Subject: avoid picking up ProtoC --- test/distrib/cpp/run_distrib_test_cmake.bat | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/distrib') 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 -- cgit v1.2.3