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

Unified Diff: webrtc/examples/androidtests/video_quality_loopback_test.py

Issue 2695713002: Modify android video_quality_loopback_test to run commands from the src dir. (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/androidtests/video_quality_loopback_test.py
diff --git a/webrtc/examples/androidtests/video_quality_loopback_test.py b/webrtc/examples/androidtests/video_quality_loopback_test.py
index 725b4c7241994126e8834eb1a48ca660e38c55ae..4536f1cd151edc8f92fec1d5da5ace1a3692abdb 100755
--- a/webrtc/examples/androidtests/video_quality_loopback_test.py
+++ b/webrtc/examples/androidtests/video_quality_loopback_test.py
@@ -32,9 +32,9 @@ SRC_DIR = os.path.normpath(os.path.join(SCRIPT_DIR, os.pardir, os.pardir,
os.pardir))
-def _RunCommand(argv, **kwargs):
+def _RunCommand(argv, cwd=SRC_DIR, **kwargs):
kjellander (google.com) 2017/02/14 12:31:05 The script supports --source_dir flag, which overr
mandermo 2017/02/14 14:21:15 Was useful during the development to provide the s
kjellander_webrtc 2017/02/14 14:36:11 I say we just drop the flag then. It shouldn't be
logging.info('Running %r', argv)
- subprocess.check_call(argv, **kwargs)
+ subprocess.check_call(argv, cwd=cwd, **kwargs)
def _ParseArgs():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698