| 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
|
|
|