2013-03-03 17:40:35 +01:00
|
|
|
#!/bin/sh
|
2013-03-10 12:13:23 +01:00
|
|
|
: ${PYTHON:=python}
|
2013-03-09 13:16:00 +01:00
|
|
|
FAILED=0
|
2013-03-17 10:55:31 +01:00
|
|
|
export PYTHONPATH="${PYTHONPATH}:`realpath .`"
|
|
|
|
for file in tests/test_*.py ; do
|
|
|
|
if ! ${PYTHON} $file ; then
|
2013-03-09 13:16:00 +01:00
|
|
|
FAILED=1
|
|
|
|
fi
|
2013-03-17 10:55:31 +01:00
|
|
|
done
|
2013-03-23 22:42:50 +01:00
|
|
|
if ! ${PYTHON} scripts/powerline-lint -p powerline/config_files ; then
|
2013-03-09 13:16:00 +01:00
|
|
|
FAILED=1
|
|
|
|
fi
|
|
|
|
exit $FAILED
|