mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed build failures when tests are skipped
This commit is contained in:
parent
139fb60d84
commit
de484d8906
@ -43,7 +43,7 @@ print "Tests succeeded: %s" % c.success
|
|||||||
print "Tests skipped: %s" % c.skipped
|
print "Tests skipped: %s" % c.skipped
|
||||||
print "Tests with errors: %s" % c.errors
|
print "Tests with errors: %s" % c.errors
|
||||||
|
|
||||||
if (len(c.failures)+len(c.errors)+len(c.skipped)) != 0:
|
if (len(c.failures)+len(c.errors)) != 0:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user