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

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

Issue 24311004: Use always_run v can_fail_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 7 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/recipes/chromium.py
diff --git a/scripts/slave/recipes/chromium.py b/scripts/slave/recipes/chromium.py
index 4223f4967f81d0ffba396380d1035f724110596e..8f49fa65914f3754df5e72bdba32042e9cf14f8b 100644
--- a/scripts/slave/recipes/chromium.py
+++ b/scripts/slave/recipes/chromium.py
@@ -6,6 +6,7 @@ DEPS = [
'chromium',
'gclient',
'properties',
+ 'python',
]
def GenSteps(api):
@@ -24,6 +25,8 @@ def GenSteps(api):
api.chromium.compile(),
)
+ yield api.python.inline('last step', 'print "last step"')
+
def GenTests(api):
for plat in ('win', 'mac', 'linux'):
@@ -32,3 +35,10 @@ def GenTests(api):
'mock': {'platform': {'name': plat}},
'properties': {'TARGET_BITS': bits},
}
+ yield 'fail', {
+ 'step_mocks': {
+ 'compile': {
+ '$R': 1
+ }
+ }
+ }

Powered by Google App Engine
This is Rietveld 408576698