summaryrefslogtreecommitdiff
path: root/support/gladtex/runtests
blob: 521d5b3a337d3a5e202d755e739c4cbb8ad03474 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# change above to python, if your system doesn't have the 3 suffix for python 3
set -e
PYTHON=python
#  check whether a program called "python3" exists, else use "python"
if command -v python3 >/dev/null 2>&1
then
    PYTHON=python3
fi

$PYTHON -m unittest discover tests