Skip to content

Commit 1228e8e

Browse files
authored
Merge pull request #948 from wenduwan/collect_test
LauncherMTTTool.py: reset test list in each collectTests run
2 parents b68a0e8 + 3c1a9c4 commit 1228e8e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pylib/Tools/Launcher/LauncherMTTTool.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,13 @@ def resetPaths(self, log, testDef):
218218
os.chdir(self.cwd)
219219
return
220220

221+
def resetTests(self):
222+
self.tests = []
223+
self.skip_tests = []
224+
self.expected_returncodes = {}
225+
221226
def collectTests(self, log, cmds):
227+
self.resetTests()
222228
# did they give us a list of specific directories where the desired
223229
# tests to be executed reside?
224230
if cmds['test_list'] is None:

0 commit comments

Comments
 (0)