Allow flagging tests that arent dependent on polling strategy

pull/5456/head
Craig Tiller 9 years ago
parent 54a7b8d625
commit 946ce7a46a
  1. 1
      tools/buildgen/plugins/make_fuzzer_tests.py
  2. 7
      tools/run_tests/run_tests.py
  3. 3345
      tools/run_tests/tests.json

@ -51,6 +51,7 @@ def mako_plugin(dictionary):
'exclude_configs': [],
'platforms': ['linux', 'mac', 'windows', 'posix'],
'ci_platforms': ['linux', 'mac', 'windows', 'posix'],
'uses_polling': False,
'flaky': False,
'language': 'c',
'cpu_cost': 0.1,

@ -159,12 +159,15 @@ class CLanguage(object):
'posix': ['all'],
'linux': ['poll', 'legacy']
}
for polling_strategy in POLLING_STRATEGIES[self.platform]:
for target in binaries:
polling_strategies = (POLLING_STRATEGIES[self.platform]
if target.get('uses_polling', True)
else ['all'])
for polling_strategy in polling_strategies:
env={'GRPC_DEFAULT_SSL_ROOTS_FILE_PATH':
_ROOT + '/src/core/lib/tsi/test_creds/ca.pem',
'GRPC_POLLING_STRATEGY': polling_strategy}
shortname_ext = '' if polling_strategy=='all' else ' polling=%s' % polling_strategy
for target in binaries:
if self.config.build_config in target['exclude_configs']:
continue
if self.platform == 'windows':

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save