#!/bin/bash # run_tests.sh — Run the ChanMacro test suite. # # Usage: # ./run_tests.sh # All tests # ./run_tests.sh -v # Verbose # ./run_tests.sh -k regime # Only regime tests # ./run_tests.sh --cov # With coverage (requires pytest-cov) cd "$(dirname "$0")" python -m pytest tests/ "$@" --tb=short