powerline/tests/test_python/test.sh

14 lines
264 B
Bash
Executable File

#!/bin/sh
. tests/shlib/common.sh
enter_suite python
for file in "$ROOT"/tests/test_python/test_*.py ; do
test_name="${file##*/test_}"
if ! "$PYTHON" "$file" --verbose --catch ; then
fail "${test_name%.py}" F "Failed test(s) from $file"
fi
done
exit_suite