cmdtest.py: zero cfg file for each test group
This commit is contained in:
parent
8847af9410
commit
b36ba55303
1 changed files with 3 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ from collections import namedtuple
|
|||
from mmgen.color import yellow, green, cyan
|
||||
from mmgen.util import Msg, die
|
||||
|
||||
from ...include.common import write_to_cfgfile
|
||||
|
||||
from .cfg import cfgs, cmd_groups_dfl, cmd_groups_extra
|
||||
|
||||
class CmdGroupMgr:
|
||||
|
|
@ -146,6 +148,7 @@ class CmdGroupMgr:
|
|||
return cls
|
||||
|
||||
def gm_init_group(self, cfg, trunner, gname, sg_name, spawn_prog):
|
||||
write_to_cfgfile([])
|
||||
cls = self.create_group(gname, sg_name, **self.cmd_groups[gname].params)
|
||||
cls.group_name = gname
|
||||
return cls(cfg, trunner, cfgs, spawn_prog)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue