[GTK][EFL] ALSA_CARD environment variable is not passed for layout tests.
authorclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Aug 2016 15:57:10 +0000 (15:57 +0000)
committerclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Aug 2016 15:57:10 +0000 (15:57 +0000)
https://bugs.webkit.org/show_bug.cgi?id=160697

Reviewed by Antonio Gomes.

* Scripts/webkitpy/port/base.py:
(Port.to.setup_environ_for_server): Add ALSA_CARD and sort the Linux
list of environment variables to copy.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204332 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/port/base.py

index de440a0..6198925 100644 (file)
@@ -1,3 +1,14 @@
+2016-08-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
+
+        [GTK][EFL] ALSA_CARD environment variable is not passed for layout tests.
+        https://bugs.webkit.org/show_bug.cgi?id=160697
+
+        Reviewed by Antonio Gomes.
+
+        * Scripts/webkitpy/port/base.py:
+        (Port.to.setup_environ_for_server): Add ALSA_CARD and sort the Linux
+        list of environment variables to copy.
+
 2016-08-09  George Ruan  <gruan@apple.com>
 
         Implement functionality of media capture on iOS
 2016-08-09  George Ruan  <gruan@apple.com>
 
         Implement functionality of media capture on iOS
index c7cfffb..a0483a0 100644 (file)
@@ -829,11 +829,12 @@ class Port(object):
         clean_env = {}
         variables_to_copy = [
             # For Linux:
         clean_env = {}
         variables_to_copy = [
             # For Linux:
-            'XAUTHORITY',
+            'ALSA_CARD',
+            'DBUS_SESSION_BUS_ADDRESS',
             'HOME',
             'LANG',
             'LD_LIBRARY_PATH',
             'HOME',
             'LANG',
             'LD_LIBRARY_PATH',
-            'DBUS_SESSION_BUS_ADDRESS',
+            'XAUTHORITY',
             'XDG_DATA_DIRS',
             'XDG_RUNTIME_DIR',
 
             'XDG_DATA_DIRS',
             'XDG_RUNTIME_DIR',