mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1597261 - [mach test] Avoid re-using subsuite from earlier manifest; r=bc
Simply ensuring an empty kwargs['subsuite'] avoids this tricky edge case. Differential Revision: https://phabricator.services.mozilla.com/D77910
This commit is contained in:
parent
989440457b
commit
3ce8434d77
@ -359,6 +359,7 @@ class Test(MachCommandBase):
|
||||
suite = TEST_SUITES[suite_name]
|
||||
kwargs = suite['kwargs']
|
||||
kwargs['log'] = log
|
||||
kwargs.setdefault('subsuite', None)
|
||||
|
||||
if 'mach_command' in suite:
|
||||
res = self._mach_context.commands.dispatch(
|
||||
@ -382,6 +383,7 @@ class Test(MachCommandBase):
|
||||
|
||||
kwargs = dict(m['kwargs'])
|
||||
kwargs['log'] = log
|
||||
kwargs.setdefault('subsuite', None)
|
||||
|
||||
res = self._mach_context.commands.dispatch(
|
||||
m['mach_command'], self._mach_context,
|
||||
|
Loading…
Reference in New Issue
Block a user