From: bert hubert Date: Sat, 20 Feb 2016 20:56:03 +0000 (+0100) Subject: document dnsdist regression tests, make it possible to run only part of the regressio... X-Git-Tag: auth-4.0.0-alpha2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a2a2925e776de71f9c31ce1d3865f591ae0cb6b;p=thirdparty%2Fpdns.git document dnsdist regression tests, make it possible to run only part of the regression tests (& document that too) --- diff --git a/regression-tests.dnsdist/README b/regression-tests.dnsdist/README new file mode 100644 index 0000000000..09780c5814 --- /dev/null +++ b/regression-tests.dnsdist/README @@ -0,0 +1,18 @@ +There are two ways to run these tests. The automated way is ./runtests which +tries to pick up a dnsdist binary built from a distributed tarball in +../pdns/dnsdistdist/dnsdist-*/dnsdist + +If this is not the binary you want to test, use something like: + +DNSDISTBIN=../pdns/dnsdistdist/dnsdist ./runtests + +The tests are self-contained and require no further nameservers to be +installed. + +However, do make sure to build a dnsdist with libsodium and dnscrypt support +as otherwise some tests will fail. + +To run a specific test, use something like: + +./runtests test_Advanced.py:TestAdvancedSpoof.testSpoofActionMultiA + diff --git a/regression-tests.dnsdist/runtests b/regression-tests.dnsdist/runtests index fb53a6b2ac..8bd5cd3e5e 100755 --- a/regression-tests.dnsdist/runtests +++ b/regression-tests.dnsdist/runtests @@ -16,4 +16,4 @@ set -e if [ "${PDNS_DEBUG}" = "YES" ]; then set -x fi -nosetests --with-xunit +nosetests --with-xunit $@