lf_check.py : look in stdout for test failure

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-10-06 06:06:50 -06:00
parent bcfdb1063f
commit 31734eaac4

View File

@@ -1051,7 +1051,7 @@ NOTE: Diagrams are links in dashboard""".format(ip_qa=ip,qa_url=qa_url)
if stdout_log_size > 0:
text = open(stdout_log_txt).read()
if 'error' in text.lower():
self.test_result = "Failure"
self.test_result = "Test Failure"
background = self.background_red
else:
self.test_result = "Success"