[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 13:06:26 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit a2a76702d2acfbca7a4fd2b2e645e86f5964deb1
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Sep 7 07:30:20 2010 +0000
2010-09-07 Gabor Rapcsanyi <rgabor at inf.u-szeged.hu>
Reviewed by Eric Seidel.
[NRWT] Add temp directory to all running drivers.
https://bugs.webkit.org/show_bug.cgi?id=45261
* Scripts/webkitpy/layout_tests/port/webkit.py:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index ea94a19..5616c35 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-07 Gabor Rapcsanyi <rgabor at inf.u-szeged.hu>
+
+ Reviewed by Eric Seidel.
+
+ [NRWT] Add temp directory to all running drivers.
+ https://bugs.webkit.org/show_bug.cgi?id=45261
+
+ * Scripts/webkitpy/layout_tests/port/webkit.py:
+
2010-09-06 Dimitri Glazkov <dglazkov at chromium.org>
Reviewed by Kent Tamura.
diff --git a/WebKitTools/Scripts/webkitpy/layout_tests/port/webkit.py b/WebKitTools/Scripts/webkitpy/layout_tests/port/webkit.py
index 61f8aed..3ea5047 100644
--- a/WebKitTools/Scripts/webkitpy/layout_tests/port/webkit.py
+++ b/WebKitTools/Scripts/webkitpy/layout_tests/port/webkit.py
@@ -43,6 +43,8 @@ import sys
import time
import webbrowser
import operator
+import tempfile
+import shutil
from webkitpy.common.system.executive import Executive
@@ -404,6 +406,10 @@ class WebKitDriver(base.Driver):
self._port = port
# FIXME: driver_options is never used.
self._image_path = image_path
+ self._driver_tempdir = tempfile.mkdtemp(prefix='DumpRenderTree-')
+
+ def __del__(self):
+ shutil.rmtree(self._driver_tempdir)
def start(self):
command = []
@@ -414,6 +420,7 @@ class WebKitDriver(base.Driver):
command.append('--pixel-tests')
environment = self._port.setup_environ_for_server()
environment['DYLD_FRAMEWORK_PATH'] = self._port._build_path()
+ environment['DUMPRENDERTREE_TEMP'] = self._driver_tempdir
self._server_process = server_process.ServerProcess(self._port,
"DumpRenderTree", command, environment)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list