Force LLDB tests to run in series

Parallel execution is broken, anyway
pull/3215/head
Matt 4 months ago
parent 24e7a81bc3
commit 16d154c24f
No known key found for this signature in database

@ -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,
)

Loading…
Cancel
Save