]> git.ipfire.org Git - thirdparty/pdns.git/blob - regression-tests.dnsdist/runtests
document dnsdist regression tests, make it possible to run only part of the regressio...
[thirdparty/pdns.git] / regression-tests.dnsdist / runtests
1 #!/usr/bin/env bash
2
3 if [ ! -d .venv ]; then
4 virtualenv .venv
5 fi
6 . .venv/bin/activate
7 python -V
8 pip install -r requirements.txt
9
10 if [ -z "${DNSDISTBIN}" ]; then
11 DNSDISTBIN=$(ls ../pdns/dnsdistdist/dnsdist-*/dnsdist)
12 fi
13 export DNSDISTBIN
14
15 set -e
16 if [ "${PDNS_DEBUG}" = "YES" ]; then
17 set -x
18 fi
19 nosetests --with-xunit $@