Deconding the tests output
This commit is contained in:
parent
944bc8c3ff
commit
e3e037563b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user