aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/internal_ci/windows
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-09-11 11:46:59 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-09-15 17:37:13 +0200
commit05eadf21e05d521d73a05babf7c8f45218728355 (patch)
treec0752c01a88136dcc6c888d71e913270b952b81b /tools/internal_ci/windows
parentca7084bced8db50bc242a06b430ba468145982fa (diff)
reveal leftover processes
Diffstat (limited to 'tools/internal_ci/windows')
-rw-r--r--tools/internal_ci/windows/grpc_run_tests_matrix.bat10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/internal_ci/windows/grpc_run_tests_matrix.bat b/tools/internal_ci/windows/grpc_run_tests_matrix.bat
index 08d834f8b0..10627add25 100644
--- a/tools/internal_ci/windows/grpc_run_tests_matrix.bat
+++ b/tools/internal_ci/windows/grpc_run_tests_matrix.bat
@@ -17,8 +17,10 @@ cd /d %~dp0\..\..\..
call tools/internal_ci/helper_scripts/prepare_build_windows.bat
-python tools/run_tests/run_tests_matrix.py %RUN_TESTS_FLAGS% || goto :error
-goto :EOF
+python tools/run_tests/run_tests_matrix.py %RUN_TESTS_FLAGS%
+set RUNTESTS_EXITCODE=%errorlevel%
-:error
-exit /b %errorlevel%
+@rem Reveal leftover processes that might be left behind by the build
+tasklist /V
+
+exit /b %RUNTESTS_EXITCODE%