Remove run-tests.sh

I'm the only one who was using it. Remove now that pytest is what we
call.
This commit is contained in:
Behdad Esfahbod 2021-03-24 08:05:05 -07:00
parent d0aaf1bceb
commit 67bbabcdea
3 changed files with 1 additions and 30 deletions

View File

@ -12,7 +12,6 @@ include Lib/fontTools/ttLib/tables/table_API_readme.txt
include *requirements.txt
include tox.ini
include mypy.ini
include run-tests.sh
recursive-include Lib/fontTools py.typed

View File

@ -14,7 +14,7 @@ uninstall:
pip uninstall --yes fonttools
check: all
./run-tests.sh
pytest
clean:
./setup.py clean --all

View File

@ -1,28 +0,0 @@
#!/bin/sh
# exit if any subcommand return non-zero status
set -e
# Choose python version
if test "x$1" = x-3; then
PYTHON=py3
shift
elif test "x$1" = x-2; then
PYTHON=py2
shift
fi
test "x$PYTHON" = x && PYTHON=py
# Find tests
FILTERS=
for arg in "$@"; do
test "x$FILTERS" != x && FILTERS="$FILTERS or "
FILTERS="$FILTERS$arg"
done
# Run tests
if [ -z "$FILTERS" ]; then
tox --develop -e $PYTHON
else
tox --develop -e $PYTHON -- -k "$FILTERS"
fi