From: Victor Julien Date: Fri, 6 Jun 2025 08:13:56 +0000 (+0200) Subject: run: skip multi-processing on macOS X-Git-Tag: suricata-7.0.11~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2549%2Fhead;p=thirdparty%2Fsuricata-verify.git run: skip multi-processing on macOS --- diff --git a/run.py b/run.py index 136109878..87128ac62 100755 --- a/run.py +++ b/run.py @@ -47,8 +47,10 @@ import traceback import platform VALIDATE_EVE = False +# Windows and macOS don't support the mp logic below. WIN32 = sys.platform == "win32" -MP = not WIN32 +DARWIN = sys.platform == "darwin" +MP = not WIN32 and not DARWIN suricata_yaml = "suricata.yaml" if WIN32 else "./suricata.yaml" # Determine the Suricata binary