#!/usr/bin/env bash # Include the Python behavior suites in the standard validation entry point. set -u -o pipefail TEST_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" failures=0 # Hyphenated filenames are not importable by unittest discovery. for test_file in "${TEST_ROOT}"/tests/test-*.py; do if ! PYTHONDONTWRITEBYTECODE=1 python3 "$test_file"; then (( failures += 1 )) fi done (( failures == 0 ))