]> git.phdru.name Git - mimedecode.git/blobdiff - test/test_all
Feat(tests): Use tox for testing
[mimedecode.git] / test / test_all
index d5b06e1923b9bc4b1148af56d94d3005bcd086c8..df65454df9050d52c121c78a67a7c7bac33ba7fe 100755 (executable)
@@ -1,13 +1,18 @@
 #! /bin/sh
 
 cd "`dirname \"$0\"`" &&
-MAILCAPS="`pwd`"/.mailcap &&
-export MAILCAPS &&
-
 rm -rf save tmp &&
 mkdir tmp || exit 1
 
+LC_CTYPE=c.UTF-8 &&
+export LC_CTYPE &&
+
+MAILCAPS="`pwd`"/.mailcap &&
+export MAILCAPS &&
+
+: ${PYTHON:=python}
 RC=0
+
 if [ `$PYTHON -c "import sys; print(sys.version[0])"` -eq 2 ]; then
    PY3=NO
 else