]> git.ipfire.org Git - thirdparty/pdns.git/blame - regression-tests.dnsdist/runtests
Merge pull request #7159 from rgacogne/rec41-revert-6980
[thirdparty/pdns.git] / regression-tests.dnsdist / runtests
CommitLineData
ca404e94 1#!/usr/bin/env bash
ef5a5c88
PD
2set -e
3
4PYTHON=${PYTHON:-python2}
ca404e94
RG
5
6if [ ! -d .venv ]; then
ef5a5c88 7 virtualenv -p ${PYTHON} .venv
ca404e94
RG
8fi
9. .venv/bin/activate
10python -V
11pip install -r requirements.txt
1d0bd88a 12protoc -I=../pdns/ --python_out=. ../pdns/dnsmessage.proto
ca404e94
RG
13
14if [ -z "${DNSDISTBIN}" ]; then
02650ed5 15 DNSDISTBIN=$(ls ../pdns/dnsdistdist/dnsdist-*/dnsdist)
ca404e94
RG
16fi
17export DNSDISTBIN
18
19set -e
9091cf89
PL
20if [ "${PDNS_DEBUG}" = "YES" ]; then
21 set -x
22fi
0a2a2925 23nosetests --with-xunit $@