]> git.phdru.name Git - mimedecode.git/blobdiff - test/test_all
Run tests with python2 and python3
[mimedecode.git] / test / test_all
index 69eb614c0bc4bebb2085f71570c99d4b5f50b80f..b05f3834eb03f335c3b62e828a3576430f5526f7 100755 (executable)
@@ -15,7 +15,7 @@ test1() {
    expfile="$1"
    shift
 
-   ../mimedecode.py -H test -f utf-8 "$@" input/"$infile" >tmp/"$expfile" || return 1
+   $PYTHON ../mimedecode.py -H test -f utf-8 "$@" input/"$infile" >tmp/"$expfile" || return 1
    if cmp -s expected/"$expfile" tmp/"$expfile"; then
       rm tmp/"$expfile" && return 0 || return 1
    else