未验证 提交 ce0a2abb 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'ldoktor/external-runner'

......@@ -739,17 +739,17 @@ class SimpleTest(Test):
except process.CmdError as details:
self._log_detailed_cmd_info(details.result)
raise exceptions.TestFail(details)
for line in open(self.logfile):
if self.re_avocado_log.match(line):
raise exceptions.TestWarn("Test passed but there were warnings"
" on stdout during execution. Check "
"the log for details.")
def test(self):
"""
Run the test and postprocess the results
"""
self.execute_cmd()
for line in open(self.logfile):
if self.re_avocado_log.match(line):
raise exceptions.TestWarn("Test passed but there were warnings"
" on stdout during execution. Check "
"the log for details.")
class ExternalRunnerTest(SimpleTest):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册