diff --git a/MANIFEST.in b/MANIFEST.in index 31a9c256b..8e2bcd1d1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/Makefile b/Makefile index b2e3d96b7..21cad6cd2 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ uninstall: pip uninstall --yes fonttools check: all - ./run-tests.sh + pytest clean: ./setup.py clean --all diff --git a/run-tests.sh b/run-tests.sh deleted file mode 100755 index f10c1b01d..000000000 --- a/run-tests.sh +++ /dev/null @@ -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