Files
David Schroeder 6f4c95e0f2 menu update
2026-09-24 19:22:04 -05:00

13 lines
415 B
Bash

#!/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 ))