From: Jason Ish Date: Wed, 20 Nov 2019 21:44:42 +0000 (-0600) Subject: All skip to be a boolean, for easy skip by default. X-Git-Tag: suricata-6.0.4~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ac0fbcbdc73c58fd167a3d9e35b532e70a60de6;p=thirdparty%2Fsuricata-verify.git All skip to be a boolean, for easy skip by default. --- diff --git a/run.py b/run.py index b4bbe88ac..711491e61 100755 --- a/run.py +++ b/run.py @@ -381,6 +381,10 @@ class TestRunner: def check_skip(self): if not "skip" in self.config: return + if isinstance(self.config["skip"], bool): + if self.config["skip"]: + raise UnsatisfiedRequirementError("skipped by default") + return for skip in self.config["skip"]: if "uid" in skip: