Files
mtusi2026lab3/scripts/py39-tests.sh
T

10 lines
403 B
Bash
Executable File

#!/bin/sh
# Run the public and own HTTP suites with the oldest promised Python (3.9 on
# this machine) against the running stand.
set -eu
cd "$(dirname "$0")/.."
/usr/bin/python3 --version
/usr/bin/python3 scripts/check_contract.py
/usr/bin/python3 tests/smoke.py --base-url "${BASE_URL:-http://127.0.0.1:8083}"
/usr/bin/python3 student-tests/blackbox.py --base-url "${BASE_URL:-http://127.0.0.1:8083}"