mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Don't run video_quality_loopback_test from the src dir.
When executed on swarming, the script is run from //out/<android build dir>, so it's better to keep that convention. Given that all paths are given, cwd doesn't seem to be needed. TBR=phoglund@webrtc.org Bug: chromium:755660 Change-Id: Iabf6603983ff88b1281e8113da1aad3320967b72 Reviewed-on: https://webrtc-review.googlesource.com/46142 Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org> Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21843}
This commit is contained in:
parent
dff310227d
commit
d5e17d6831
1 changed files with 6 additions and 6 deletions
|
@ -49,19 +49,19 @@ class VideoQualityTestError(Error):
|
|||
pass
|
||||
|
||||
|
||||
def _RunCommand(argv, cwd=SRC_DIR, **kwargs):
|
||||
def _RunCommand(argv, **kwargs):
|
||||
logging.info('Running %r', argv)
|
||||
subprocess.check_call(argv, cwd=cwd, **kwargs)
|
||||
subprocess.check_call(argv, **kwargs)
|
||||
|
||||
|
||||
def _RunCommandWithOutput(argv, cwd=SRC_DIR, **kwargs):
|
||||
def _RunCommandWithOutput(argv, **kwargs):
|
||||
logging.info('Running %r', argv)
|
||||
return subprocess.check_output(argv, cwd=cwd, **kwargs)
|
||||
return subprocess.check_output(argv, **kwargs)
|
||||
|
||||
|
||||
def _RunBackgroundCommand(argv, cwd=SRC_DIR):
|
||||
def _RunBackgroundCommand(argv):
|
||||
logging.info('Running %r', argv)
|
||||
process = subprocess.Popen(argv, cwd=cwd)
|
||||
process = subprocess.Popen(argv)
|
||||
time.sleep(0.5)
|
||||
status = process.poll()
|
||||
if status: # is not None or 0
|
||||
|
|
Loading…
Reference in a new issue