Title: [206741] trunk/Tools
Revision
206741
Author
[email protected]
Date
2016-10-03 12:26:03 -0700 (Mon, 03 Oct 2016)

Log Message

[Win] DRT temp folder is not used.
https://bugs.webkit.org/show_bug.cgi?id=162863

Reviewed by Alex Christensen.

Convert DRT temp folder to DOS path, which DRT can use.

* Scripts/webkitpy/port/driver.py:
(Driver._setup_environ_for_driver):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (206740 => 206741)


--- trunk/Tools/ChangeLog	2016-10-03 19:13:20 UTC (rev 206740)
+++ trunk/Tools/ChangeLog	2016-10-03 19:26:03 UTC (rev 206741)
@@ -1,3 +1,15 @@
+2016-10-03  Per Arne Vollan  <[email protected]>
+
+        [Win] DRT temp folder is not used.
+        https://bugs.webkit.org/show_bug.cgi?id=162863
+
+        Reviewed by Alex Christensen.
+
+        Convert DRT temp folder to DOS path, which DRT can use.
+
+        * Scripts/webkitpy/port/driver.py:
+        (Driver._setup_environ_for_driver):
+
 2016-10-03  Alex Christensen  <[email protected]>
 
         URLParser: empty relative URLs should not copy fragment from the base URL

Modified: trunk/Tools/Scripts/webkitpy/port/driver.py (206740 => 206741)


--- trunk/Tools/Scripts/webkitpy/port/driver.py	2016-10-03 19:13:20 UTC (rev 206740)
+++ trunk/Tools/Scripts/webkitpy/port/driver.py	2016-10-03 19:26:03 UTC (rev 206741)
@@ -338,7 +338,10 @@
         environment['TMPDIR'] = str(self._driver_tempdir)
         environment['DIRHELPER_USER_DIR_SUFFIX'] = self._driver_user_directory_suffix
         # Put certain normally persistent files into the temp directory (e.g. IndexedDB storage).
-        environment['DUMPRENDERTREE_TEMP'] = str(self._driver_tempdir)
+        if sys.platform == 'cygwin':
+            environment['DUMPRENDERTREE_TEMP'] = path.cygpath(str(self._driver_tempdir))
+        else:
+            environment['DUMPRENDERTREE_TEMP'] = str(self._driver_tempdir)
         environment['LOCAL_RESOURCE_ROOT'] = str(self._port.layout_tests_dir())
         environment['ASAN_OPTIONS'] = "allocator_may_return_null=1"
         environment['__XPC_ASAN_OPTIONS'] = environment['ASAN_OPTIONS']
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to