Add Windows, Mac, Android support to low bandwidth audio test
BUG=webrtc:7229 Review-Url: https://codereview.webrtc.org/2767383005 Cr-Commit-Position: refs/heads/master@{#17470}
This commit is contained in:
@ -20,6 +20,8 @@ import sys
|
||||
|
||||
|
||||
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
# Needed to properly resolve PATH and executable extensions on Windows.
|
||||
USE_SHELL = sys.platform == 'win32'
|
||||
|
||||
|
||||
def main(directories):
|
||||
@ -37,7 +39,7 @@ def main(directories):
|
||||
path,
|
||||
]
|
||||
print 'Downloading precompiled tools...'
|
||||
subprocess.check_call(cmd)
|
||||
subprocess.check_call(cmd, shell=USE_SHELL)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user