mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed build failures when tests are skipped
(cherry picked from commit de484d8906937cab5fd4ffb1d0e623ee1739f567)
This commit is contained in:
parent
97bc93d563
commit
1f9d14878a
@ -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