|
|
@ -300,7 +300,8 @@ def create_scenarios(languages, workers_by_lang, remote_host=None, regex='.*', |
|
|
|
for language in languages: |
|
|
|
for language in languages: |
|
|
|
for scenario_json in language.scenarios(): |
|
|
|
for scenario_json in language.scenarios(): |
|
|
|
if re.search(args.regex, scenario_json['name']): |
|
|
|
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)] |
|
|
|
workers = workers_by_lang[str(language)] |
|
|
|
# 'SERVER_LANGUAGE' is an indicator for this script to pick |
|
|
|
# 'SERVER_LANGUAGE' is an indicator for this script to pick |
|
|
|
# a server in different language. |
|
|
|
# a server in different language. |
|
|
|