menu update
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/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 ))
|
||||
Reference in New Issue
Block a user