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

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

Issue 1347263002: Revert of Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 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
« no previous file with comments | « scripts/slave/recipes/dart/dartium_perf.py ('k') | scripts/slave/recipes/gatekeeper.expected/real.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/gatekeeper.py
diff --git a/scripts/slave/recipes/gatekeeper.py b/scripts/slave/recipes/gatekeeper.py
index a09b5feddbf2a48d66196d2f035f7da4e6dd3607..f3110a5ed44977a7ab5a81b25d36ee30d59736d6 100644
--- a/scripts/slave/recipes/gatekeeper.py
+++ b/scripts/slave/recipes/gatekeeper.py
@@ -19,11 +19,25 @@
def GenTests(api):
+ # It is okay to use os here because we are reading the file immediately
+ # on the simulating machine.
+ import os
+
yield (
api.test('basic')
+ api.step_data(
'reading gatekeeper_trees.json',
api.gatekeeper.fake_test_data(),
+ )
+ )
+
+ yield (
+ api.test('real')
+ + api.step_data(
+ 'reading gatekeeper_trees.json',
+ api.gatekeeper.read_real_config(
+ os.path.join('scripts', 'slave', 'gatekeeper_trees.json')
+ ),
)
)
« no previous file with comments | « scripts/slave/recipes/dart/dartium_perf.py ('k') | scripts/slave/recipes/gatekeeper.expected/real.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698