Bug 160697 - [GTK][EFL] ALSA_CARD environment variable is not passed for layout tests.
Summary: [GTK][EFL] ALSA_CARD environment variable is not passed for layout tests.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Alberto Lopez Perez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-09 10:19 PDT by Carlos Alberto Lopez Perez
Modified: 2016-08-10 08:58 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.49 KB, patch)
2016-08-09 10:25 PDT, Carlos Alberto Lopez Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Patch
Comment 2 Carlos Alberto Lopez Perez 2016-08-10 08:37:19 PDT
Comment on attachment 285647 [details]
Patch

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

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.