Files
mtusi2026lab2/student-tests/run_all.py
T
2026-11-05 01:43:30 +03:00

17 lines
650 B
Python

"""Sequential required functional checks; failures preserve nonzero status."""
import subprocess,sys
from pathlib import Path
root=Path(__file__).resolve().parents[1]
commands=[
['make','check'],['make','test'],
[sys.executable,'student-tests/security.py'],
[sys.executable,'student-tests/lab1_own_tests.py'],
[sys.executable,'student-tests/lab1_concurrency.py'],
[sys.executable,'student-tests/level4.py'],
[sys.executable,'student-tests/infrastructure.py'],
]
for command in commands:
print('RUN: '+' '.join(command),flush=True)
subprocess.run(command,cwd=root,check=True)
print('PASS: all required functional checks completed',flush=True)