Fix how test_algorithm reads stderr.

This commit is contained in:
FiveMovesAhead 2025-10-14 12:29:06 +01:00
parent 42cfe667e8
commit b312add97a

View File

@ -212,7 +212,7 @@ f"""Library not found at {so_path}:
else:
out += f"elapsed: {elapsed2}ms\n\t\texit code: {ret2.returncode}\n\t\tstderr: "
if ret2.returncode != 0:
out += ret2.stderr.strip()
out += ret2.stderr.read()
print(out)
if ret2 is not None:
if ret2.returncode == 0: