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

Unified Diff: test/message/testcfg.py

Issue 1348653003: [test] Fix cctest path separators on Windows (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix top-level 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
« no previous file with comments | « test/intl/testcfg.py ('k') | test/mjsunit/testcfg.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/testcfg.py
diff --git a/test/message/testcfg.py b/test/message/testcfg.py
index cfe22f15d70adafc49daefcb68eaa962852132e7..bc73510c097bfc1d66c28c1cff653c86494ca781 100644
--- a/test/message/testcfg.py
+++ b/test/message/testcfg.py
@@ -52,7 +52,9 @@ class MessageTestSuite(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
« no previous file with comments | « test/intl/testcfg.py ('k') | test/mjsunit/testcfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698