diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index d64ac5dac59..bea30b84dcc 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -336,17 +336,12 @@ class CLanguage(object): if self.args.iomgr_platform in target.get('exclude_iomgrs', []): continue - if self.platform == 'windows' and target['name'] in ( - 'invalid_call_argument_test', - 'bad_server_response_test', 'goaway_server_test'): - # A few tests fail on the win2019 workers, but since they pass on Windows bazel RBE, - # it seems ok to skip them in run_tests.py temporarily. - # TODO(jtattermusch): Reenable the tests. - continue - if self.platform == 'windows': - binary = 'cmake/build/%s/%s.exe' % (_MSBUILD_CONFIG[ - self.config.build_config], target['name']) + if self._cmake_generator_windows == 'Ninja': + binary = 'cmake/build/%s.exe' % target['name'] + else: + binary = 'cmake/build/%s/%s.exe' % (_MSBUILD_CONFIG[ + self.config.build_config], target['name']) else: binary = 'cmake/build/%s' % target['name']