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

Unified Diff: PRESUBMIT.py

Issue 10035003: Split up Each Swarm Test into Two Steps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Renaming broken test :( Created 8 years, 8 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 | « no previous file | masters/master.chromium.swarm/master.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index cbf2fe6746c4afdf0a85a74a2816714d4c69c403..35c211792d16bd80bf40aa66c0c8f0cd07e8ed1b 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -40,6 +40,7 @@ def CommonChecks(input_api, output_api):
# pylint is fetched in memory with setuptools, it seems it caches
# sys.path so modifications to sys.path aren't kept.
join('scripts', 'master', 'unittests'),
+ join('scripts', 'slave', 'unittests'),
join('site_config'),
join('test'),
] + sys.path
@@ -67,6 +68,11 @@ def RunTests(input_api, output_api):
output_api,
input_api.os_path.join('scripts', 'master', 'unittests'),
whitelist))
+ out.extend(input_api.canned_checks.RunUnitTestsInDirectory(
+ input_api,
+ output_api,
+ input_api.os_path.join('scripts', 'slave', 'unittests'),
+ whitelist))
internal_path = input_api.os_path.join('..', 'build_internal', 'test')
if input_api.os_path.isfile(internal_path):
out.extend(input_api.canned_checks.RunUnitTestsInDirectory(
« no previous file with comments | « no previous file | masters/master.chromium.swarm/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698