Kaydet (Commit) 4ce6b351 authored tarafından Anthony Baxter's avatar Anthony Baxter

don't fail if the audio device is busy, just skip.

SF patch 545486
üst 8388895f
......@@ -25,7 +25,7 @@ def play_sound_file(path):
try:
a = linuxaudiodev.open('w')
except linuxaudiodev.error, msg:
if msg[0] in (errno.EACCES, errno.ENODEV):
if msg[0] in (errno.EACCES, errno.ENODEV, errno.EBUSY):
raise TestSkipped, msg
raise TestFailed, msg
......
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