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

Unified Diff: scripts/slave/recipes/chromium_trybot_legacy.py

Issue 1185693002: Move builders.py and steps.py to chromium_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Add builders property to chromium_tests test_api. Created 5 years, 6 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/recipes/chromium_trybot_legacy.py
diff --git a/scripts/slave/recipes/chromium_trybot_legacy.py b/scripts/slave/recipes/chromium_trybot_legacy.py
index a08315042dd1df5549e6daa1959db18f93c47f63..93c3c881e952f298820fe04b66ec4b2523f0ef27 100644
--- a/scripts/slave/recipes/chromium_trybot_legacy.py
+++ b/scripts/slave/recipes/chromium_trybot_legacy.py
@@ -234,7 +234,7 @@ def _GenStepsInternal(api):
if isinstance(test_args, basestring):
test_args = [test_args]
- test = api.chromium.steps.GTestTest(test_name, test_args)
+ test = api.chromium_tests.steps.GTestTest(test_name, test_args)
assert not test.uses_swarming
gtest_tests.append(test)
@@ -337,16 +337,16 @@ def _GenStepsInternal(api):
conditional_tests = []
if bot_config.get('add_nacl_integration_tests', True):
conditional_tests += [
- api.chromium.steps.ScriptTest(
+ api.chromium_tests.steps.ScriptTest(
'nacl_integration', 'nacl_integration.py',
scripts_compile_targets),
]
if bot_config.get('add_telemetry_tests', True):
conditional_tests += [
- api.chromium.steps.ScriptTest(
+ api.chromium_tests.steps.ScriptTest(
'telemetry_unittests', 'telemetry_unittests.py',
scripts_compile_targets),
- api.chromium.steps.ScriptTest(
+ api.chromium_tests.steps.ScriptTest(
'telemetry_perf_unittests', 'telemetry_perf_unittests.py',
scripts_compile_targets),
]
@@ -378,7 +378,7 @@ def _GenStepsInternal(api):
tests.extend(find_test_named('nacl_integration', conditional_tests))
if api.platform.is_win:
- tests.append(api.chromium.steps.MiniInstallerTest())
+ tests.append(api.chromium_tests.steps.MiniInstallerTest())
# Swarming uses Isolate to transfer files to swarming bots.
# set_isolate_environment modifies GYP_DEFINES to enable test isolation.
« scripts/slave/recipes/chromium.py ('K') | « scripts/slave/recipes/chromium_trybot.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698