[Windows] More debugging for the Windows bots.
authorroger_fong@apple.com <roger_fong@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Sep 2014 00:46:22 +0000 (00:46 +0000)
committerroger_fong@apple.com <roger_fong@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Sep 2014 00:46:22 +0000 (00:46 +0000)
* Scripts/webkitpy/common/system/path.py:
(_CygPath):

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

Tools/ChangeLog
Tools/Scripts/webkitpy/common/system/path.py
Tools/Scripts/webkitpy/port/driver.py

index b95475e..4b23993 100644 (file)
@@ -1,5 +1,12 @@
 2014-09-23  Roger Fong  <roger_fong@apple.com>
 
+        [Windows] More debugging for the Windows bots.
+
+        * Scripts/webkitpy/common/system/path.py:
+        (_CygPath):
+
+2014-09-23  Roger Fong  <roger_fong@apple.com>
+
         Unreviewed. Fix for r173899, those tabs should be spaces.
 
         * Scripts/webkitpy/port/driver.py:
index e5a66bf..70e368c 100644 (file)
 import atexit
 import subprocess
 import sys
+import logging
 import threading
 import urllib
 
+_log = logging.getLogger(__name__)
 
 def abspath_to_uri(platform, path):
     """Converts a platform-specific absolute path to a file: URL."""
@@ -98,9 +100,11 @@ class _CygPath(object):
     def convert(self, path):
         if not self.is_running():
             self.start()
+        _log.error("Input to convert: %s" % path)
         self._child_process.stdin.write("%s\r\n" % path)
         self._child_process.stdin.flush()
         windows_path = self._child_process.stdout.readline().rstrip()
+        _log.error("Windows path: %s" % windows_path)
         # Some versions of cygpath use lowercase drive letters while others
         # use uppercase. We always convert to uppercase for consistency.
         windows_path = '%s%s' % (windows_path[0].upper(), windows_path[1:])
index cbff949..57e6f51 100644 (file)
@@ -392,7 +392,6 @@ class Driver(object):
         else:
             command = self._port.abspath_for_test(driver_input.test_name)
             if sys.platform == 'cygwin':
-                _log.error("Command for cygpath: %s" % command)
                 command = path.cygpath(command)
 
         assert not driver_input.image_hash or driver_input.should_run_pixel_test