From 662ed60025ab54e44fe6b07a0bca498132579ae7 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Fri, 24 May 2024 12:45:34 -0600 Subject: [PATCH] run.py: use single mode if -j1 and on Linux Single mode can expose some errors that are hidden in mp mode, so it can be useful to use even on Linux. --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 151607050..6b45f10fc 100755 --- a/run.py +++ b/run.py @@ -1179,7 +1179,7 @@ def main(): # Sort alphabetically. tests.sort() - if LINUX: + if LINUX and args.j > 1: run_mp(args.j, tests, dirpath, args, cwd, suricata_config) else: run_single(tests, dirpath, args, cwd, suricata_config) -- 2.47.2