]>
Commit | Line | Data |
---|---|---|
7568b07d PL |
1 | #!/bin/sh |
2 | ||
3 | if [ ! -d .venv ]; then | |
4 | virtualenv -p python2 .venv | |
5 | fi | |
6 | . .venv/bin/activate | |
7 | python -V | |
8 | pip install -r requirements.txt | |
9 | ||
10 | mkdir -p configs | |
11 | ||
12 | export PDNS=${PDNS:-${PWD}/../pdns/pdns_server} | |
13 | export PDNSUTIL=${PDNSUTIL:-${PWD}/../pdns/pdnsutil} | |
14 | export PDNSRECURSOR=${PDNSRECURSOR:-${PWD}/../pdns/recursordist/pdns_recursor} | |
15 | export RECCONTROL=${RECCONTROL:-${PWD}/../pdns/recursordist/rec_control} | |
16 | ||
17 | export PREFIX=10.0.3 | |
18 | ||
19 | set -e | |
20 | if [ "${PDNS_DEBUG}" = "YES" ]; then | |
21 | set -x | |
22 | fi | |
23 | nosetests -I test_WellKnown.py --with-xunit $@ |