Fix master's "Start PulseAudio" step.
TBR=kjellander@webrtc.org BUG=none TEST=manually on the LinuxLargeTests bot. Review URL: https://webrtc-codereview.appspot.com/632010 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2393 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
0594916a21
commit
1c284734cd
@ -787,14 +787,11 @@ class WebRTCLinuxFactory(WebRTCFactory):
|
||||
self.AddCommonTestRunStep(test)
|
||||
|
||||
def _AddStartPulseAudioStep(self):
|
||||
# Ensure a PulseAudio daemon is running. The options here are taken from
|
||||
# /etc/init.d/pulseaudio, with three exceptions:
|
||||
# 1. --system has been removed; this requires root privileges.
|
||||
# 2. --log-target=syslog has been removed in order to get logs on stdout
|
||||
# for diagnosing problems.
|
||||
# 3. -vvvv has been added for fully verbose logs.
|
||||
cmd = ('/usr/bin/pulseaudio --start --daemonize --high-priority '
|
||||
'--disallow-module-loading=1 -vvvv')
|
||||
# Ensure a PulseAudio daemon is running. Options:
|
||||
# --start runs it as a daemon.
|
||||
# --high-priority succeeds due to changes in /etc/security/limits.conf.
|
||||
# -vvvv gives us fully verbose logs.
|
||||
cmd = ('/usr/bin/pulseaudio --start --high-priority -vvvv')
|
||||
self.AddCommonStep(cmd=cmd, descriptor='Start PulseAudio')
|
||||
|
||||
class WebRTCMacFactory(WebRTCFactory):
|
||||
|
Loading…
Reference in New Issue
Block a user