Index: test/webkit/testcfg.py |
diff --git a/test/webkit/testcfg.py b/test/webkit/testcfg.py |
index ed811d2922c54bd24b239fa28b1d5e57e7487c19..aa81964f5ef6995c5e1567de23bae411e544afdf 100644 |
--- a/test/webkit/testcfg.py |
+++ b/test/webkit/testcfg.py |
@@ -55,9 +55,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 |