Fix audio_e2e_test command line arguments
The changes in r1068 that moved over to the webrtc/test/buildbot_tests.py launch script was not properly tested on the real machine for the audio_e2e_test. Due to that it contained a few syntax errors and paths that were not resolved as expected. This CL fixes this and has been tested more thorougly.
BUG=none
TEST=Ran, standing in the checkout dir:
out/Release/buildbot_tests.py -t audio_e2e_test
with successful result.
Review URL: https://webrtc-codereview.appspot.com/1070012
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3438 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/test/buildbot_tests.py b/test/buildbot_tests.py
index a8d8e71..65db525 100755
--- a/test/buildbot_tests.py
+++ b/test/buildbot_tests.py
@@ -24,6 +24,9 @@
import subprocess
import sys
+_CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
+_HOME = os.environ.get('HOME', '')
+
_VIE_AUTO_TEST_CMD_LIST = [
'vie_auto_test',
'--automated',
@@ -52,8 +55,9 @@
'--input=../../resources/e2e_audio_in.pcm',
'--output=/tmp/e2e_audio_out.pcm',
'--codec=L16',
- '--compare="~/bin/compare-audio +16000 +wb"',
- r'--regexp="(\d\.\d{3})"'],
+ '--harness=%s/audio_e2e_harness' % _CURRENT_DIR,
+ '--compare=%s/bin/compare-audio +16000 +wb' % _HOME,
+ '--regexp=(\d\.\d{3})'],
'audioproc_perf': ['audioproc',
'-aecm', '-ns', '-agc', '--fixed_digital', '--perf',
'-pb', '../../resources/audioproc.aecdump'],
@@ -61,7 +65,6 @@
'32000', '../../resources/speech_and_misc_wb.pcm',
'isac_speech_and_misc_wb.pcm'],
}
-_CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
def main():