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

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

Issue 2229213003: webrtc: run tests in the checkout directory (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/webrtc/api.py
diff --git a/scripts/slave/recipe_modules/webrtc/api.py b/scripts/slave/recipe_modules/webrtc/api.py
index d6b333f18e54d979868af1cc5bbd25e69da2817c..3ea92f51b22d5edfa60b34f44ddae8fedd58032a 100644
--- a/scripts/slave/recipe_modules/webrtc/api.py
+++ b/scripts/slave/recipe_modules/webrtc/api.py
@@ -181,11 +181,7 @@ class WebRTCApi(recipe_api.RecipeApi):
Args:
test_suite: The name of the test suite.
"""
- context = {}
- if self._working_dir:
- context['cwd'] = self._working_dir
-
- with self.m.step.context(context):
+ with self.m.step.context({'cwd': self.m.path['checkout']}):
if self.c.use_isolate:
self.m.isolate.remove_build_metadata()
self.m.isolate.isolate_tests(self.m.chromium.output_dir,
« no previous file with comments | « no previous file | scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698