| Index: test/preparser/testcfg.py
|
| diff --git a/test/preparser/testcfg.py b/test/preparser/testcfg.py
|
| index 5347db72f2de1b95dc6f1b7be6a879dd76576a9a..39b62c396de4c304d5b4c33b60463a45f45d86ab 100644
|
| --- a/test/preparser/testcfg.py
|
| +++ b/test/preparser/testcfg.py
|
| @@ -122,15 +122,10 @@ class PreparserTestConfiguration(test.TestConfiguration):
|
| {"Test": Test, "Template": Template}, {})
|
|
|
| def ListTests(self, current_path, path, mode, variant_flags):
|
| - executable = 'preparser'
|
| + executable = join('obj', 'preparser', mode, 'preparser')
|
| if utils.IsWindows():
|
| executable += '.exe'
|
| executable = join(self.context.buildspace, executable)
|
| - if not exists(executable):
|
| - executable = join('obj', 'preparser', mode, 'preparser')
|
| - if utils.IsWindows():
|
| - executable += '.exe'
|
| - executable = join(self.context.buildspace, executable)
|
| expectations = self.GetExpectations()
|
| result = []
|
| # Find all .js files in tests/preparser directory.
|
|
|