From: Otto Moerbeek Date: Wed, 23 Aug 2023 11:23:56 +0000 (+0200) Subject: Avoid running SNMP tests on the current buildbot setup X-Git-Tag: rec-5.0.0-alpha1~43^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=607d24f9dfcfd70ebff1c2e0786e7ec3fc1b574c;p=thirdparty%2Fpdns.git Avoid running SNMP tests on the current buildbot setup Since the change from nose to pytest, the SNMP exclusion via the environment var NOSE_EXLUDE does no longer work. --- diff --git a/build-scripts/test-recursor b/build-scripts/test-recursor index ac41da9da3..b0999567f1 100755 --- a/build-scripts/test-recursor +++ b/build-scripts/test-recursor @@ -16,6 +16,11 @@ fi set -x +EXTRA_ARG="" +if [ $PWD = /srv/buildbot-worker/test-rec-debian-buster/build ]; then + EXTRA_ARG=--ignore=test_SNMP.py +fi + cd regression-tests/modules MODULES="" @@ -59,7 +64,8 @@ sleep 3 ./clean.sh cd ../regression-tests.recursor-dnssec -./runtests $@ || EXIT=1 + +./runtests $EXTRA_ARG $@ || EXIT=1 ./printlogs.py || true exit $EXIT