Fix script to only display warning on invalid.
Some checks are pending
Test Workspace / Test Workspace (push) Waiting to run

This commit is contained in:
FiveMovesAhead 2025-12-03 10:13:05 +00:00
parent e9ac9c2fb4
commit c4f12d7350

View File

@ -131,8 +131,9 @@ f"""Library not found at {so_path}:
print(f"\r{out}", end="")
if (num_finished + num_invalid) == args.nonces:
print()
print("Warning: Invalid solutions encountered. This will cause actual benchmarks to fail.")
if num_invalid > 0:
print()
print("Warning: Invalid solutions encountered. This will cause actual benchmarks to fail.")
break
if num_invalid > 0 and not args.ignore_invalid:
print()