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

Unified Diff: scripts/slave/recipe_modules/chromium_tests/api.py

Issue 2166343002: chromium_tests: use correct cwd for deapplying patch (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 5 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 | scripts/slave/recipes/chromium_trybot.expected/compile_failure_infra.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/chromium_tests/api.py
diff --git a/scripts/slave/recipe_modules/chromium_tests/api.py b/scripts/slave/recipe_modules/chromium_tests/api.py
index 5d5c101df3cbd5afc97625118cbcdc9b988beb6b..69884a3c73e42bae76e73e7c4a064e70def79cd2 100644
--- a/scripts/slave/recipe_modules/chromium_tests/api.py
+++ b/scripts/slave/recipe_modules/chromium_tests/api.py
@@ -644,8 +644,13 @@ class ChromiumTestsApi(recipe_api.RecipeApi):
self.m.gclient.c.revisions[first_solution_name] = str(
bot_update_json['properties'][rev_property])
self._resolve_fixed_revisions(bot_update_json)
+
+ kwargs = {}
+ if self._working_dir:
+ kwargs['cwd'] = self._working_dir
+
self.m.bot_update.ensure_checkout(
- force=True, patch=False, update_presentation=False)
+ force=True, patch=False, update_presentation=False, **kwargs)
self.m.chromium.runhooks(name='runhooks (without patch)')
def run_tests_on_tryserver(self, bot_config, api, tests, bot_update_step,
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium_trybot.expected/compile_failure_infra.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698