From 16d154c24f209b49c84c0631e0a16d80b962d81e Mon Sep 17 00:00:00 2001 From: Matt <4922458+mbrla0@users.noreply.github.com> Date: Mon, 11 Aug 2025 20:11:33 +0000 Subject: [PATCH] Force LLDB tests to run in series Parallel execution is broken, anyway --- tests/tests.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/tests.py b/tests/tests.py index 261842f39..eda4daf03 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -48,12 +48,20 @@ def main(): ) sys.exit(1) + force_serial = False match args.driver: case Driver.GDB: host = get_gdb_host(args, local_pwndbg_root) case Driver.LLDB: host = get_lldb_host(args, local_pwndbg_root) + # LLDB does not properly support having its tests run in parallel, + # so we forcibly disable it, for now. + print( + "WARNING: LLDB tests always run in series, even when parallel execution is requested." + ) + force_serial = True + # Handle the case in which the user only wants the collection to run. if args.collect_only: for test in host.collect(): @@ -62,7 +70,12 @@ def main(): # Actually run the tests. run_tests_and_print_stats( - host, args.test_name_filter, args.pdb, args.serial, args.verbose, coverage_out + host, + args.test_name_filter, + args.pdb, + force_serial or args.serial, + args.verbose, + coverage_out, )