2014-08-29 20:22:39 +02:00
|
|
|
#!/bin/sh
|
2015-08-22 16:18:35 +02:00
|
|
|
. tests/common.sh
|
|
|
|
|
|
|
|
enter_suite python
|
|
|
|
|
2014-08-29 20:22:39 +02:00
|
|
|
for file in tests/test_*.py ; do
|
2015-08-22 16:18:35 +02:00
|
|
|
test_name="${file##*/test_}"
|
2014-08-29 20:22:39 +02:00
|
|
|
if ! ${PYTHON} $file --verbose --catch ; then
|
2015-08-22 16:18:35 +02:00
|
|
|
fail "${test_name%.py}" F "Failed test(s) from $file"
|
2014-08-29 20:22:39 +02:00
|
|
|
fi
|
|
|
|
done
|
2015-08-22 16:18:35 +02:00
|
|
|
|
|
|
|
exit_suite
|