Files
mtusi2026lab5/scripts/check_grade4.py

14 lines
603 B
Python

"""Convenience runner. Does not fabricate evidence or control Docker itself."""
import subprocess
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
for command in (
[sys.executable, str(ROOT / "tests/smoke.py")],
[sys.executable, str(ROOT / "student-tests/run.py")],
[sys.executable, str(ROOT / "student-tests/test_attachments.py")],
):
print("RUN:", " ".join(command), flush=True)
subprocess.run(command, cwd=ROOT, check=True)
print("PASS: public smoke + lab3 concurrency + grade4 negative cases; run extra resilience and memory experiment separately")