Upgrade fonttools from 2.4 to 3.28.0
1. Add METADATA.
2. Run tools/external_updater/updater.sh update fonttools
Test: m checkbuild
Change-Id: Iab9e8c5da04f4c06347a924b4cea04f743f274c3
diff --git a/run-tests.sh b/run-tests.sh
new file mode 100755
index 0000000..0eb84de
--- /dev/null
+++ b/run-tests.sh
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+# exit if any subcommand return non-zero status
+set -e
+
+# Choose python version
+if test "x$1" = x-3; then
+ PYTHON=python3
+ shift
+elif test "x$1" = x-2; then
+ PYTHON=python2
+ shift
+fi
+test "x$PYTHON" = x && PYTHON=python
+
+# Find tests
+FILTERS=
+for arg in "$@"; do
+ test "x$FILTERS" != x && FILTERS="$FILTERS or "
+ FILTERS="$FILTERS$arg"
+done
+
+# Run tests
+if [ -z "$FILTERS" ]; then
+ $PYTHON setup.py test
+else
+ $PYTHON setup.py test --addopts="-k \"$FILTERS\""
+fi