Deconding the tests output

This commit is contained in:
manmorjim 2020-03-02 15:21:32 +01:00
parent 944bc8c3ff
commit e3e037563b

View File

@ -59,7 +59,7 @@ def execute_tests():
stderr=subprocess.PIPE stderr=subprocess.PIPE
) )
out, err = process.communicate() out, err = process.communicate()
print(err) print(err.decode('utf-8'))
regexp = re.compile(r'FAILED \(.*\)') regexp = re.compile(r'FAILED \(.*\)')
if regexp.search(err) is not None: if regexp.search(err) is not None:
sys.exit(1) sys.exit(1)