Title: [133036] trunk/Tools
Revision
133036
Author
[email protected]
Date
2012-10-31 08:53:52 -0700 (Wed, 31 Oct 2012)

Log Message

[EFL] DRT doesn't clean up after itself
https://bugs.webkit.org/show_bug.cgi?id=100346

Patch by Thiago Marcos P. Santos <[email protected]> on 2012-10-31
Reviewed by Kenneth Rohde Christiansen.

The test driver exports an environment variable DUMPRENDERTREE_TEMP
which is used by both DRT and WTR as the folder for storing icons,
databases, application cache, etc, overriding the default XDG_* path.

We don't need to create these folders because in fact, they are never
used and also never cleaned. Things created inside DUMPRENDERTREE_TEMP
are automatically removed after the test run.

* Scripts/webkitpy/layout_tests/port/efl.py:
(EflPort.setup_environ_for_server):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (133035 => 133036)


--- trunk/Tools/ChangeLog	2012-10-31 15:53:34 UTC (rev 133035)
+++ trunk/Tools/ChangeLog	2012-10-31 15:53:52 UTC (rev 133036)
@@ -1,5 +1,23 @@
 2012-10-31  Thiago Marcos P. Santos  <[email protected]>
 
+        [EFL] DRT doesn't clean up after itself
+        https://bugs.webkit.org/show_bug.cgi?id=100346
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        The test driver exports an environment variable DUMPRENDERTREE_TEMP
+        which is used by both DRT and WTR as the folder for storing icons,
+        databases, application cache, etc, overriding the default XDG_* path.
+
+        We don't need to create these folders because in fact, they are never
+        used and also never cleaned. Things created inside DUMPRENDERTREE_TEMP
+        are automatically removed after the test run.
+
+        * Scripts/webkitpy/layout_tests/port/efl.py:
+        (EflPort.setup_environ_for_server):
+
+2012-10-31  Thiago Marcos P. Santos  <[email protected]>
+
         [WTR] WebKitTestRunner is not cleaning up the icon database
         https://bugs.webkit.org/show_bug.cgi?id=100678
 

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/efl.py (133035 => 133036)


--- trunk/Tools/Scripts/webkitpy/layout_tests/port/efl.py	2012-10-31 15:53:34 UTC (rev 133035)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/efl.py	2012-10-31 15:53:52 UTC (rev 133036)
@@ -62,8 +62,6 @@
         if self.webprocess_cmd_prefix:
             env['WEB_PROCESS_CMD_PREFIX'] = self.webprocess_cmd_prefix
 
-        env['XDG_CACHE_HOME'] = str(self._filesystem.mkdtemp(prefix='%s-Efl-CacheDir-' % self.driver_name()))
-        env['XDG_DATA_HOME'] = str(self._filesystem.mkdtemp(prefix='%s-Efl-DataDir-' % self.driver_name()))
         return env
 
     def default_timeout_ms(self):
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to