Fix status code

This commit is contained in:
JeremyStar™ 2024-03-28 21:17:16 +01:00
parent 70b1794129
commit 642c3a62a9

View file

@ -89,8 +89,8 @@ func _ready() -> void:
lresu("")
# Shutdown
if stats_all == stats_ok: terminate(0)
elif stats_all == stats_ok + stats_warn: terminate(1)
if stats_all == stats_ok + stats_skip: terminate(0)
elif stats_all == stats_ok + stats_warn + stats_skip: terminate(1)
else: terminate(2)
# Runs a test suite