summaryrefslogtreecommitdiff
path: root/test/run.sh
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2020-05-05 13:34:16 -0700
committerAdam Hupp <adam@hupp.org>2020-05-05 13:43:31 -0700
commitcd8fb9d25246d8bf90290356186056c631834b7a (patch)
treee6535061eb43ebf4ae42e4020ca9a32ac8d11ee3 /test/run.sh
parent8ed5dc4759e7e7eb879494f246d3c5eec7580376 (diff)
downloadpython-magic-cd8fb9d25246d8bf90290356186056c631834b7a.tar.gz
Improve test coverage
Make sure we fail early if any versions fail, and move to a python test runner since I can never remember how to use bash.
Diffstat (limited to 'test/run.sh')
-rwxr-xr-xtest/run.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/run.sh b/test/run.sh
deleted file mode 100755
index 9676ee2..0000000
--- a/test/run.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-
-# ensure we can use unicode filenames in the test
-export LC_ALL=en_US.UTF-8
-THISDIR=`dirname $0`
-export PYTHONPATH=${THISDIR}/..
-
-PYTHONS="python2.7 python3.5 python3.6 python3.7 python3.8 python"
-
-for pyver in $PYTHONS; do
- if which $pyver > /dev/null; then
- echo "found $pyver"
- $pyver ${THISDIR}/test.py
- else
- echo "version $pyver not found"
- fi
-done