From a46ce8653d37492b8d60451833ea73f3e21cbe98 Mon Sep 17 00:00:00 2001 From: "timurrrr@chromium.org" Date: Wed, 2 Mar 2011 12:56:50 +0000 Subject: And one more follow-up - finally tested that on Windows... TBR=glider Review URL: http://codereview.chromium.org/6596107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76529 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/valgrind/chrome_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index 092eeb2..447db80 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -158,7 +158,8 @@ class ChromeTests: for filename in gtest_filter_files: # strip the leading absolute path (may be very long on the bot) # and the following / or \. - readable_filename = filename.replace(self._source_dir, "")[1:] + readable_filename = filename.replace("\\", "/") # '\' on Windows + readable_filename = readable_filename.replace(self._source_dir, "")[1:] if not os.path.exists(filename): logging.info(" \"%s\" - not found" % readable_filename) continue -- cgit v1.1