From: Jason Ish Date: Mon, 29 Jan 2018 20:45:28 +0000 (-0600) Subject: runner: don't fail if requires is empty X-Git-Tag: suricata-6.0.4~507 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ff5e0da19720fcf8a9db2d06bba83ba81f5694;p=thirdparty%2Fsuricata-verify.git runner: don't fail if requires is empty --- diff --git a/run.py b/run.py index 662b9ea1b..009439254 100755 --- a/run.py +++ b/run.py @@ -268,6 +268,8 @@ class TestRunner: def check_requires(self): if "requires" in self.config: requires = self.config["requires"] + if not requires: + return True else: requires = {}