mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25: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():
|
||||
try:
|
||||
res = json.loads(results_fname.read_text())
|
||||
if res.get("test_timeouts", 0) > 0:
|
||||
print(f"{results_fname} test timeouts, redoing...")
|
||||
else:
|
||||
return res
|
||||
#if res.get("test_timeouts", 0) > 0:
|
||||
# print(f"{results_fname} test timeouts, redoing...")
|
||||
#else:
|
||||
return res
|
||||
except JSONDecodeError:
|
||||
print(f"{results_fname} failed to parse, redoing...")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue