Index: test/message/testcfg.py |
diff --git a/test/message/testcfg.py b/test/message/testcfg.py |
index bc73510c097bfc1d66c28c1cff653c86494ca781..cfe22f15d70adafc49daefcb68eaa962852132e7 100644 |
--- a/test/message/testcfg.py |
+++ b/test/message/testcfg.py |
@@ -52,9 +52,7 @@ |
files.sort() |
for filename in files: |
if filename.endswith(".js"): |
- fullpath = os.path.join(dirname, filename) |
- relpath = fullpath[len(self.root) + 1 : -3] |
- testname = relpath.replace(os.path.sep, "/") |
+ testname = os.path.join(dirname[len(self.root) + 1:], filename[:-3]) |
test = testcase.TestCase(self, testname) |
tests.append(test) |
return tests |