mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
run-tests: remove redundant test name filter
TestSuite.run() doesn't need to filter tests by name because that already happens elsewhere. Garbage in garbage out applies.
This commit is contained in:
parent
d516d7b5e7
commit
9edaec1d62
@ -1161,10 +1161,6 @@ class TestSuite(unittest.TestSuite):
|
||||
if ignored:
|
||||
continue
|
||||
|
||||
if not test.name.lower().startswith('test-'):
|
||||
result.addSkip(test, 'not a test file')
|
||||
continue
|
||||
|
||||
tests.append(test)
|
||||
|
||||
jobs = self._runner.options.jobs
|
||||
|
Loading…
Reference in New Issue
Block a user