| 179 | return result |
| 180 | |
| 181 | def ListTests(self, current_path, path, arch, mode): |
| 182 | all_tests = [current_path + t for t in self.Ls(os.path.join(self.root))] |
| 183 | result = [] |
| 184 | for tst in all_tests: |
| 185 | if self.Contains(path, tst): |
| 186 | file_path = os.path.join(self.root, reduce(os.path.join, tst[1:], "") + ".js") |
| 187 | result.append( |
| 188 | SimpleTestCase(tst, file_path, arch, mode, self.context, self, self.additional_flags)) |
| 189 | return result |
| 190 | |
| 191 | class AbortTestConfiguration(SimpleTestConfiguration): |
| 192 | def __init__(self, context, root, section, additional=None): |