Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1510)

Unified Diff: scripts/slave/recipe_modules/chromium_tests/bot_config_and_test_db.py

Issue 2357343004: chromium_tests: automatically set up test genrators (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/chromium_tests/bot_config_and_test_db.py
diff --git a/scripts/slave/recipe_modules/chromium_tests/bot_config_and_test_db.py b/scripts/slave/recipe_modules/chromium_tests/bot_config_and_test_db.py
index 9a396b6e2ceeeeb760a5384f59e21a419f656df9..b607b4776c1a3ea3b14779bbeafc441a0e64b28c 100644
--- a/scripts/slave/recipe_modules/chromium_tests/bot_config_and_test_db.py
+++ b/scripts/slave/recipe_modules/chromium_tests/bot_config_and_test_db.py
@@ -75,6 +75,14 @@ class BotConfig(object):
scripts_compile_targets = \
chromium_tests_api.get_compile_targets_for_scripts().json.output
+ test_generators = [
+ chromium_tests_api.steps.generate_gtest,
+ chromium_tests_api.steps.generate_instrumentation_test,
+ chromium_tests_api.steps.generate_junit_test,
+ chromium_tests_api.steps.generate_script,
+ chromium_tests_api.steps.generate_isolated_script,
+ ]
+
masternames = set(bot_id['mastername'] for bot_id in self._bot_ids)
for mastername in sorted(self._bots_dict):
# We manually thaw the path to the elements we are modifying, since the
@@ -98,7 +106,7 @@ class BotConfig(object):
self.get('enable_swarming', False),
builder_dict.get('swarming_dimensions', {}),
scripts_compile_targets,
- builder_dict.get('test_generators', []),
+ test_generators,
bot_update_step
))
else:

Powered by Google App Engine
This is Rietveld 408576698