Title: [191339] trunk/Tools
Revision
191339
Author
[email protected]
Date
2015-10-20 04:37:52 -0700 (Tue, 20 Oct 2015)

Log Message

[GTK] Enable OpenWebRTC test video/audio sources in tests

This is needed because we can't expect the buildbots to have
webcam/mic devices plugged in.

Rubber-stamped by Carlos Garcia Campos.

* Scripts/run-gtk-tests:
(TestRunner._setup_testing_environment):
* Scripts/webkitpy/port/gtk.py:
(GtkPort.setup_environ_for_server):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (191338 => 191339)


--- trunk/Tools/ChangeLog	2015-10-20 10:40:55 UTC (rev 191338)
+++ trunk/Tools/ChangeLog	2015-10-20 11:37:52 UTC (rev 191339)
@@ -1,3 +1,17 @@
+2015-10-20  Philippe Normand  <[email protected]>
+
+        [GTK] Enable OpenWebRTC test video/audio sources in tests
+
+        This is needed because we can't expect the buildbots to have
+        webcam/mic devices plugged in.
+
+        Rubber-stamped by Carlos Garcia Campos.
+
+        * Scripts/run-gtk-tests:
+        (TestRunner._setup_testing_environment):
+        * Scripts/webkitpy/port/gtk.py:
+        (GtkPort.setup_environ_for_server):
+
 2015-10-20  Yoav Weiss  <[email protected]>
 
         Rename the PICTURE_SIZES flag to CURRENTSRC

Modified: trunk/Tools/Scripts/run-gtk-tests (191338 => 191339)


--- trunk/Tools/Scripts/run-gtk-tests	2015-10-20 10:40:55 UTC (rev 191338)
+++ trunk/Tools/Scripts/run-gtk-tests	2015-10-20 11:37:52 UTC (rev 191339)
@@ -193,6 +193,7 @@
         self._test_env["TEST_WEBKIT_API_WEBKIT2_RESOURCES_PATH"] = common.top_level_path("Tools", "TestWebKitAPI", "Tests", "WebKit2")
         self._test_env["TEST_WEBKIT_API_WEBKIT2_INJECTED_BUNDLE_PATH"] = common.library_build_path()
         self._test_env["WEBKIT_EXEC_PATH"] = self._programs_path
+        self._test_env["OWR_USE_TEST_SOURCES"] = '1'
 
         if not self._run_xvfb():
             return False

Modified: trunk/Tools/Scripts/webkitpy/port/gtk.py (191338 => 191339)


--- trunk/Tools/Scripts/webkitpy/port/gtk.py	2015-10-20 10:40:55 UTC (rev 191338)
+++ trunk/Tools/Scripts/webkitpy/port/gtk.py	2015-10-20 11:37:52 UTC (rev 191339)
@@ -115,6 +115,7 @@
         environment['LIBOVERLAY_SCROLLBAR'] = '0'
         environment['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path('lib', 'libTestRunnerInjectedBundle.so')
         environment['TEST_RUNNER_TEST_PLUGIN_PATH'] = self._build_path('lib', 'plugins')
+        environment['OWR_USE_TEST_SOURCES'] = '1'
         self._copy_value_from_environ_if_set(environment, 'WEBKIT_OUTPUTDIR')
         if self._driver_class() == XvfbDriver and self._should_use_jhbuild():
             llvmpipe_libgl_path = self.host.executive.run_command(self._jhbuild_wrapper + ['printenv', 'LLVMPIPE_LIBGL_PATH'],
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to