#!/bin/sh # Run the public and own black-box suites with the oldest promised Python # (system Python 3.9 on this machine) against the running stand. set -eu cd "$(dirname "$0")/.." base_url=${BASE_URL:-http://127.0.0.1:8084} /usr/bin/python3 --version /usr/bin/python3 -m py_compile scripts/*.py student-tests/*.py tests/*.py /usr/bin/python3 scripts/check_contract.py /usr/bin/python3 tests/smoke.py --base-url "$base_url" /usr/bin/python3 student-tests/blackbox.py --base-url "$base_url" echo "PASS: Python 3.9 compilation, public smoke and student black-box suite"