]>
git.ipfire.org Git - thirdparty/pdns.git/blob - regression-tests.auth-py/runtests
6c30ba8c6634b2fe3d102732ef0dd1405d76a4aa
4 readonly PYTHON
=${PYTHON:-python2}
6 if [ ! -d .venv
]; then
7 virtualenv
-p ${PYTHON} .venv
12 pip
install -q -r requirements.txt |
cat
16 [ -f .
/vars
] && . .
/vars
18 export PDNS
=${PDNS:-${PWD}/../pdns/pdns_server}
19 export PDNSUTIL
=${PDNSUTIL:-${PWD}/../pdns/pdnsutil}
23 for bin
in "$PDNS" "$PDNSUTIL"; do
24 if [ -n "$bin" -a ! -e "$bin" ]; then
25 echo "E: Required binary $bin not found. Please install the binary and/or edit ./vars."
31 if [ "${PDNS_DEBUG}" = "YES" ]; then
35 nosetests
--with-xunit $@