Added a step for restarting pulseaudio.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/611007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2322 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org 2012-05-30 09:07:02 +00:00
parent 281b7983db
commit 9259e7bd03

View File

@ -762,6 +762,11 @@ class WebRTCLinuxFactory(WebRTCFactory):
cmd = MakeCommandToRunTestInXvfb(['out/Debug/video_render_module_test'])
self.AddCommonTestRunStep(test=test, cmd=cmd)
elif test == 'voe_auto_test':
# Restart pulseaudio first to reduce risk of pulseaudio flakiness.
self.AddCommonStep(['/etc/init.d/pulseaudio', 'restart'],
'restart pulseaudio')
# Set up the regular test run.
binary = 'out/Debug/voe_auto_test'
cmd = [binary, '--automated', '--gtest_filter=-RtpFuzzTest.*']
self.AddCommonTestRunStep(test=test, cmd=cmd)