summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 12:56:50 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 12:56:50 +0000
commita46ce8653d37492b8d60451833ea73f3e21cbe98 (patch)
treeb9303862ae577672a5faea6276f9675465202d7a /tools
parent148ea41d1e78bc5ebdf8a9c8179a611ad0b9e227 (diff)
downloadchromium_src-a46ce8653d37492b8d60451833ea73f3e21cbe98.zip
chromium_src-a46ce8653d37492b8d60451833ea73f3e21cbe98.tar.gz
chromium_src-a46ce8653d37492b8d60451833ea73f3e21cbe98.tar.bz2
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/valgrind/chrome_tests.py3
1 files changed, 2 insertions, 1 deletions
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