lf_check.py : check for subtest failures

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-11-17 11:19:27 -07:00
parent 4bad6732f8
commit 2ea53395b9

View File

@@ -1005,7 +1005,10 @@ NOTE: Diagrams are links in dashboard""".format(ip_qa=ip, qa_url=qa_url)
# leave the space in after error to not pick up tx
# errors or rx errors
elif 'error ' in text.lower():
self.test_result = "Test Fail"
self.test_result = "Test Errors"
background = self.background_red
elif 'tests failed':
self.test_result = "Tests Failed"
background = self.background_orange
else:
self.test_result = "Success"