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

Unified Diff: test/mozilla/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/mjsunit/testcfg.py ('k') | test/test262-es6/testcfg.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mozilla/testcfg.py
diff --git a/test/mozilla/testcfg.py b/test/mozilla/testcfg.py
index 70a7ac663cde287e87f73808dd1fed2d96f41139..70665cb807d0723046ba2ad7ced9be6406b45b82 100644
--- a/test/mozilla/testcfg.py
+++ b/test/mozilla/testcfg.py
@@ -81,8 +81,9 @@ class MozillaTestSuite(testsuite.TestSuite):
files.sort()
for filename in files:
if filename.endswith(".js") and not filename in FRAMEWORK:
- testname = os.path.join(dirname[len(self.testroot) + 1:],
- filename[:-3])
+ fullpath = os.path.join(dirname, filename)
+ relpath = fullpath[len(self.testroot) + 1 : -3]
+ testname = relpath.replace(os.path.sep, "/")
case = testcase.TestCase(self, testname)
tests.append(case)
return tests
« no previous file with comments | « test/mjsunit/testcfg.py ('k') | test/test262-es6/testcfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698