| Index: scripts/slave/recipe_modules/chromium_tests/api.py
|
| diff --git a/scripts/slave/recipe_modules/chromium_tests/api.py b/scripts/slave/recipe_modules/chromium_tests/api.py
|
| index 25292663aeffa3ee9c0fba4d56c06ae1ccdb9c03..7d4961fc869268678c45edcc78dd9b3512bfd24e 100644
|
| --- a/scripts/slave/recipe_modules/chromium_tests/api.py
|
| +++ b/scripts/slave/recipe_modules/chromium_tests/api.py
|
| @@ -182,6 +182,11 @@ class ChromiumTestsApi(recipe_api.RecipeApi):
|
| def get_test_spec(self, mastername, buildername):
|
| bot_config = self._get_bot_config(mastername, buildername)
|
|
|
| + # The official builders specify the test spec using a test_spec property in
|
| + # the bot_config instead of reading it from a file.
|
| + if 'test_spec' in bot_config:
|
| + return { buildername: bot_config['test_spec'] }
|
| +
|
| test_spec_file = bot_config.get('testing', {}).get(
|
| 'test_spec_file', '%s.json' % mastername)
|
|
|
|
|