Bug 160697

Summary: [GTK][EFL] ALSA_CARD environment variable is not passed for layout tests.
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: Tools / TestsAssignee: Carlos Alberto Lopez Perez <clopez>
Severity: Normal CC: achristensen, aestes, bugs-noreply, commit-queue, dbates, glenn, gyuyoung.kim, lforschler, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

Description Carlos Alberto Lopez Perez 2016-08-09 10:19:02 PDT
With the GTK+ port, when running some layout tests like for example media/media-source/media-source-stalled-holds-sleep-assertion.html I hear strange sounds and bips on my computer.

I found a way to workaround this (with ALSA rather than pulseaudio) :

1. add snd-dummy to /etc/modules or modprobe it.
2. run the tests with the environment variable ALSA_CARD=Dummy

This works ok, but only if webkitpy allows the environment variable ALSA_CARD to be copied from the user environment.

I'm not sure if this (hearing sounds meanwhile running tests) is an issue also with pulse audio.
Comment 1 Carlos Alberto Lopez Perez 2016-08-09 10:25:34 PDT
Created attachment 285647 [details]
Comment 2 Carlos Alberto Lopez Perez 2016-08-10 08:37:19 PDT
Comment on attachment 285647 [details]

Comment 3 WebKit Commit Bot 2016-08-10 08:58:39 PDT
Comment on attachment 285647 [details]

Clearing flags on attachment: 285647

Committed r204332: <http://trac.webkit.org/changeset/204332>
Comment 4 WebKit Commit Bot 2016-08-10 08:58:43 PDT
All reviewed patches have been landed.  Closing bug.