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

Unified Diff: chrome/test/functional/webrtc_audio_quality.py

Issue 15899006: Using different ref files for WebRTC audio test on different platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: chrome/test/functional/webrtc_audio_quality.py
diff --git a/chrome/test/functional/webrtc_audio_quality.py b/chrome/test/functional/webrtc_audio_quality.py
index 8317aa4a32e05d3dd61765dcc49d3484cc26d48b..8e1cff45601520995c93bcd31a73ef719c283389 100755
--- a/chrome/test/functional/webrtc_audio_quality.py
+++ b/chrome/test/functional/webrtc_audio_quality.py
@@ -4,6 +4,7 @@
# found in the LICENSE file.
import os
+import sys
import tempfile
import time
@@ -17,7 +18,10 @@ import webrtc_test_base
_MEDIA_PATH = os.path.abspath(os.path.join(pyauto.PyUITest.DataDir(),
'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(),
'webrtc'))
« 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