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

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

Issue 1933223002: Chromium: make use of new get_files_affected_by_patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: review Created 4 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
Index: scripts/slave/recipes/chromium_trybot.py
diff --git a/scripts/slave/recipes/chromium_trybot.py b/scripts/slave/recipes/chromium_trybot.py
index 49067b387728659cfd6cb8a764c076711fae5d73..ed30db594be6180030df28889661ef224203d4e2 100644
--- a/scripts/slave/recipes/chromium_trybot.py
+++ b/scripts/slave/recipes/chromium_trybot.py
@@ -88,7 +88,6 @@ def all_compile_targets(api, tests):
for test in tests
for x in test.compile_targets(api)))
-
def is_source_file(api, filepath):
"""Returns true iff the file is a source file."""
_, ext = api.path.splitext(filepath)
@@ -127,7 +126,7 @@ def _RunStepsInternal(api):
tests.extend(additional_tests)
tests_including_triggered.extend(additional_tests)
- affected_files = api.tryserver.get_files_affected_by_patch()
+ affected_files = api.chromium_tests.get_files_affected_by_patch('src/')
affects_blink_paths = False
for path in CHROMIUM_BLINK_TESTS_PATHS:

Powered by Google App Engine
This is Rietveld 408576698