Commit f99003ac authored by Jérome Perrin's avatar Jérome Perrin

tests: make each SavedTestSuite instance use a different logfile

See merge request nexedi/erp5!1198
parents b0e0396c 39b621a7
Pipeline #10499 failed with stage
......@@ -151,6 +151,11 @@ class SavedTestSuite(ERP5TypeTestSuite):
self._portal_id = 'portal_%i' % (random.randint(0, sys.maxint), )
super(SavedTestSuite, self).__init__(*args, **kw)
def getLogDirectoryPath(self, *args, **kw):
if '--save' in args:
args += ('{}_save_{}'.format(args[-1], self.instance), )
return super(SavedTestSuite, self).getLogDirectoryPath(*args, **kw)
def __runUnitTest(self, *args, **kw):
if self.__dict__.has_key("bt5_path"):
args = ("--bt5_path=%s" % self.bt5_path,) + args
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment