mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
lf_check.py : look in stdout for test failure
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user