Home | History | Annotate | Download | only in windows
      1 @rem Copyright 2017 gRPC authors.
      2 @rem
      3 @rem Licensed under the Apache License, Version 2.0 (the "License");
      4 @rem you may not use this file except in compliance with the License.
      5 @rem You may obtain a copy of the License at
      6 @rem
      7 @rem     http://www.apache.org/licenses/LICENSE-2.0
      8 @rem
      9 @rem Unless required by applicable law or agreed to in writing, software
     10 @rem distributed under the License is distributed on an "AS IS" BASIS,
     11 @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 @rem See the License for the specific language governing permissions and
     13 @rem limitations under the License.
     14 
     15 @rem Move python installation from _32bit to _32bits where they are expected by python artifact builder
     16 @rem TODO(jtattermusch): get rid of this hack
     17 rename C:\Python27_32bit Python27_32bits
     18 rename C:\Python34_32bit Python34_32bits
     19 rename C:\Python35_32bit Python35_32bits
     20 rename C:\Python36_32bit Python36_32bits
     21 
     22 @rem enter repo root
     23 cd /d %~dp0\..\..\..
     24 
     25 call tools/internal_ci/helper_scripts/prepare_build_windows.bat
     26 
     27 @rem Move packages generated by the previous step in the build chain.
     28 powershell -Command "mv %KOKORO_GFILE_DIR%\github\grpc\artifacts input_artifacts"
     29 dir input_artifacts
     30 
     31 python tools/run_tests/task_runner.py -f distribtest windows -j 4
     32 set RUNTESTS_EXITCODE=%errorlevel%
     33 
     34 bash tools/internal_ci/helper_scripts/delete_nonartifacts.sh
     35 
     36 exit /b %RUNTESTS_EXITCODE%
     37