]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
run: skip multi-processing on macOS 2549/head
authorVictor Julien <victor@inliniac.net>
Fri, 6 Jun 2025 08:13:56 +0000 (10:13 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 6 Jun 2025 08:13:56 +0000 (10:13 +0200)
run.py

diff --git a/run.py b/run.py
index 136109878f0c566609d56a5d838a30a9f6794d6a..87128ac6222221b6bb219043a517083736806e5c 100755 (executable)
--- 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