diff options
| author | Adam Hupp <adam@hupp.org> | 2020-05-05 13:34:16 -0700 |
|---|---|---|
| committer | Adam Hupp <adam@hupp.org> | 2020-05-05 13:43:31 -0700 |
| commit | cd8fb9d25246d8bf90290356186056c631834b7a (patch) | |
| tree | e6535061eb43ebf4ae42e4020ca9a32ac8d11ee3 /test/run.sh | |
| parent | 8ed5dc4759e7e7eb879494f246d3c5eec7580376 (diff) | |
| download | python-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-x | test/run.sh | 18 |
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 |
