Commit 94ff8557 authored by phoglund@chromium.org's avatar phoglund@chromium.org

Using different ref files for WebRTC audio test on different platforms.

Depends on https://chromereviews.googleplex.com/8393013/.

BUG=226016
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/15899006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202385 0039d316-1c4b-4281-b951-d872f2087c98
parent b9ea02f6
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# found in the LICENSE file. # found in the LICENSE file.
import os import os
import sys
import tempfile import tempfile
import time import time
...@@ -17,7 +18,10 @@ import webrtc_test_base ...@@ -17,7 +18,10 @@ import webrtc_test_base
_MEDIA_PATH = os.path.abspath(os.path.join(pyauto.PyUITest.DataDir(), _MEDIA_PATH = os.path.abspath(os.path.join(pyauto.PyUITest.DataDir(),
'pyauto_private', 'webrtc')) 'pyauto_private', 'webrtc'))
_REFERENCE_FILE = os.path.join(_MEDIA_PATH, 'human-voice.wav') if 'win32' in sys.platform:
_REFERENCE_FILE = os.path.join(_MEDIA_PATH, 'human-voice-win.wav')
else:
_REFERENCE_FILE = os.path.join(_MEDIA_PATH, 'human-voice-linux.wav')
_JAVASCRIPT_PATH = os.path.abspath(os.path.join(pyauto.PyUITest.DataDir(), _JAVASCRIPT_PATH = os.path.abspath(os.path.join(pyauto.PyUITest.DataDir(),
'webrtc')) 'webrtc'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment