diff options
author | Craig Tiller <ctiller@google.com> | 2016-09-09 15:22:21 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-09-09 15:22:21 -0700 |
commit | c2895d2fee16c24988c3b2b3b0d80bf5f516cc06 (patch) | |
tree | dff2566ea08722022beb2ae3faa4f678eab2d3c7 /tools/run_tests | |
parent | 1c8bbc410612cf0b862598251ada8858803b5eb8 (diff) |
Exclude sweep tests from the "full" suite
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/run_performance_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/run_tests/run_performance_tests.py b/tools/run_tests/run_performance_tests.py index 76a4061c85..25f5d4639f 100755 --- a/tools/run_tests/run_performance_tests.py +++ b/tools/run_tests/run_performance_tests.py @@ -300,7 +300,8 @@ def create_scenarios(languages, workers_by_lang, remote_host=None, regex='.*', for language in languages: for scenario_json in language.scenarios(): if re.search(args.regex, scenario_json['name']): - if category in scenario_json.get('CATEGORIES', []) or category == 'all': + categories = scenario_json.get('CATEGORIES', []) + if category in categories or (category == 'all' and categories != ['sweep']): workers = workers_by_lang[str(language)] # 'SERVER_LANGUAGE' is an indicator for this script to pick # a server in different language. |