Imported Upstream version 1.34.0
[platform/upstream/grpc.git] / tools / internal_ci / windows / grpc_run_tests_matrix.bat
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 enter repo root
16 cd /d %~dp0\..\..\..
17
18 If Not "%RUN_TESTS_FLAGS%"=="%RUN_TESTS_FLAGS:python=%" (
19     set PREPARE_BUILD_INSTALL_DEPS_PYTHON=true
20 )
21 call tools/internal_ci/helper_scripts/prepare_build_windows.bat || exit /b 1
22
23 python tools/run_tests/run_tests_matrix.py %RUN_TESTS_FLAGS%
24 set RUNTESTS_EXITCODE=%errorlevel%
25
26 bash tools/internal_ci/helper_scripts/delete_nonartifacts.sh
27
28 exit /b %RUNTESTS_EXITCODE%