mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Use ape interpreter in flakes program
This commit is contained in:
parent
2de3845b25
commit
0158579493
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def find_test_files(root_dir: str) -> List[str]:
|
||||||
def run_single_test(test_path: str) -> int:
|
def run_single_test(test_path: str) -> int:
|
||||||
"""Run a single test and return its exit code."""
|
"""Run a single test and return its exit code."""
|
||||||
try:
|
try:
|
||||||
result = subprocess.run([test_path], capture_output=False)
|
result = subprocess.run(["ape", test_path], capture_output=False)
|
||||||
return result.returncode
|
return result.returncode
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error running {test_path}: {e}")
|
print(f"Error running {test_path}: {e}")
|
||||||
|
|
Loading…
Reference in a new issue