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 |