]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
runner: don't fail if requires is empty
authorJason Ish <ish@unx.ca>
Mon, 29 Jan 2018 20:45:28 +0000 (14:45 -0600)
committerJason Ish <ish@unx.ca>
Mon, 29 Jan 2018 20:45:28 +0000 (14:45 -0600)
run.py

diff --git a/run.py b/run.py
index 662b9ea1b69779628030d33530da53fc2584b9a7..00943925443776739ce8ddd6a8917b51a633c0ed 100755 (executable)
--- 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 = {}