diff options
author | Craig Tiller <ctiller@google.com> | 2016-11-29 09:12:48 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-11-29 09:12:48 -0800 |
commit | 9564cf9f0a6e3dbfaf0dba637c98d4479667769f (patch) | |
tree | 9633f490793847d73bd80736310c56ba12f0d4ee /test/cpp/qps | |
parent | c991e80e077872b052de15ddcd0bc489bfa65197 (diff) |
Take into account all the configs
Diffstat (limited to 'test/cpp/qps')
-rwxr-xr-x | test/cpp/qps/gen_build_yaml.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/cpp/qps/gen_build_yaml.py b/test/cpp/qps/gen_build_yaml.py index 67e5a29883..4aa58d2737 100755 --- a/test/cpp/qps/gen_build_yaml.py +++ b/test/cpp/qps/gen_build_yaml.py @@ -43,6 +43,8 @@ sys.path.append(run_tests_root) import performance.scenario_config as scenario_config +configs_from_yaml = yaml.load(open(os.path.join(os.path.dirname(sys.argv[0]), '../../../build.yaml')))['configs'].keys() + def mutate_scenario(scenario_json, is_tsan): # tweak parameters to get fast test times scenario_json = dict(scenario_json) @@ -106,7 +108,7 @@ print yaml.dump({ 'boringssl': True, 'defaults': 'boringssl', 'cpu_cost': guess_cpu(scenario_json, True), - 'exclude_configs': ['dbg', 'opt', 'asan', 'msan'], + 'exclude_configs': sorted(c for c in configs_from_yaml if c != 'tsan'), 'timeout_seconds': 6*60 } for scenario_json in scenario_config.CXXLanguage().scenarios() |