Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: test/webkit/testcfg.py

Issue 1356613002: Reland "[test] Fix cctest path separators on Windows" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix mozilla tests Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/webkit/testcfg.py
diff --git a/test/webkit/testcfg.py b/test/webkit/testcfg.py
index aa81964f5ef6995c5e1567de23bae411e544afdf..ed811d2922c54bd24b239fa28b1d5e57e7487c19 100644
--- a/test/webkit/testcfg.py
+++ b/test/webkit/testcfg.py
@@ -55,7 +55,9 @@ class WebkitTestSuite(testsuite.TestSuite):
files.sort()
for filename in files:
if filename.endswith(".js"):
- testname = os.path.join(dirname[len(self.root) + 1:], filename[:-3])
+ fullpath = os.path.join(dirname, filename)
+ relpath = fullpath[len(self.root) + 1 : -3]
+ testname = relpath.replace(os.path.sep, "/")
test = testcase.TestCase(self, testname)
tests.append(test)
return tests

Powered by Google App Engine
This is Rietveld 408576698