summaryrefslogtreecommitdiff
path: root/deps/v8/test/intl/testcfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/intl/testcfg.py')
-rw-r--r--deps/v8/test/intl/testcfg.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/test/intl/testcfg.py b/deps/v8/test/intl/testcfg.py
index 9fc087e5f5..51fa1e1a88 100644
--- a/deps/v8/test/intl/testcfg.py
+++ b/deps/v8/test/intl/testcfg.py
@@ -46,7 +46,9 @@ class IntlTestSuite(testsuite.TestSuite):
for filename in files:
if (filename.endswith(".js") and filename != "assert.js" and
filename != "utils.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