mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
fix: Use cargo test for rust tests
This commit is contained in:
parent
54ca7ceac8
commit
f6f05fa0c6
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
import datetime
|
||||
import json
|
||||
import os
|
||||
|
@ -727,6 +727,7 @@ def run_test_real(
|
|||
break
|
||||
|
||||
try:
|
||||
# pass test_files in, and choose the test command based on them ai!
|
||||
errors = run_unit_tests(testdir, history_fname)
|
||||
except subprocess.TimeoutExpired:
|
||||
errors = "Tests timed out!"
|
||||
|
@ -790,7 +791,7 @@ def run_unit_tests(testdir, history_fname):
|
|||
timeout = 60
|
||||
|
||||
command = ["pytest"]
|
||||
|
||||
command = "cargo test -- --include-ignored".split()
|
||||
print(" ".join(command))
|
||||
|
||||
result = subprocess.run(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue