From: Jason Ish Date: Fri, 24 May 2024 18:45:34 +0000 (-0600) Subject: run.py: use single mode if -j1 and on Linux X-Git-Tag: suricata-6.0.20~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=662ed60025ab54e44fe6b07a0bca498132579ae7;p=thirdparty%2Fsuricata-verify.git 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. --- 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)