mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: Skip redoing tests if results exist
This commit is contained in:
parent
c53cd336f9
commit
521841b447
1 changed files with 4 additions and 4 deletions
|
@ -644,10 +644,10 @@ def run_test_real(
|
||||||
if results_fname.exists():
|
if results_fname.exists():
|
||||||
try:
|
try:
|
||||||
res = json.loads(results_fname.read_text())
|
res = json.loads(results_fname.read_text())
|
||||||
if res.get("test_timeouts", 0) > 0:
|
#if res.get("test_timeouts", 0) > 0:
|
||||||
print(f"{results_fname} test timeouts, redoing...")
|
# print(f"{results_fname} test timeouts, redoing...")
|
||||||
else:
|
#else:
|
||||||
return res
|
return res
|
||||||
except JSONDecodeError:
|
except JSONDecodeError:
|
||||||
print(f"{results_fname} failed to parse, redoing...")
|
print(f"{results_fname} failed to parse, redoing...")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue