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

Unified Diff: scripts/slave/recipe_modules/chromium/example.py

Issue 1104533002: Add recipe for split AMP/local CQ. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Pass the correct arguments to AMPGTestTest 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/recipe_modules/chromium/example.py
diff --git a/scripts/slave/recipe_modules/chromium/example.py b/scripts/slave/recipe_modules/chromium/example.py
index 8c0413ec8836d681cb14592155a6f86c4f0f1be8..88c77fc7208a5d9428165f135b3f148d1547cfe2 100644
--- a/scripts/slave/recipe_modules/chromium/example.py
+++ b/scripts/slave/recipe_modules/chromium/example.py
@@ -3,9 +3,15 @@
# found in the LICENSE file.
DEPS = [
+ 'amp',
'chromium',
+ 'chromium_android',
'chromium_tests',
+ 'json',
+ 'path',
'properties',
+ 'step',
+ 'test_utils'
]
def GenSteps(api):
@@ -16,8 +22,14 @@ def GenSteps(api):
update_step, master_dict, test_spec = \
api.chromium_tests.prepare_checkout(mastername, buildername)
#api.chromium_tests.compile(mastername, buildername, update_step, master_dict,
- # test_spec, out_dir='/tmp')
+ # test_spec, out_dir='/tmp')
api.chromium.compile(targets=['All'], out_dir='/tmp')
+ tests = api.chromium_tests.tests_for_builder(
+ mastername, buildername, update_step, master_dict)
+
+ for test in tests:
+ test.pre_run(api, '')
navabi 2015/06/05 01:36:22 I don't know why I keep getting the recipe_simulat
+
def GenTests(api):
yield api.test('basic_out_dir') + api.properties(
@@ -26,3 +38,11 @@ def GenTests(api):
slavename='build1-a1',
buildnumber='77457',
)
+
+ yield api.test('amp_split_recipe') + api.properties(
+ mastername='chromium.fyi',
+ buildername='Android Tests (amp split)',
+ slavename='build1-a1',
+ buildnumber='77457',
+ parent_build_archive_url='gs://test-domain/test-archive.zip'
+ )

Powered by Google App Engine
This is Rietveld 408576698