From: Jason Ish Date: Tue, 9 Jan 2018 20:46:00 +0000 (-0600) Subject: runner: catch another exit case for --fail X-Git-Tag: suricata-6.0.4~546 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3db08c382de4211631d8e3df40d0f866fd9491d;p=thirdparty%2Fsuricata-verify.git runner: catch another exit case for --fail --- diff --git a/run.py b/run.py index 5b86dbafb..65a60f808 100755 --- a/run.py +++ b/run.py @@ -464,6 +464,8 @@ def main(): passed += 1 else: failed += 1 + if args.fail: + return 1 except UnsatisfiedRequirementError as err: print("SKIPPED: %s" % (str(err))) skipped += 1