From 607d24f9dfcfd70ebff1c2e0786e7ec3fc1b574c Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 23 Aug 2023 13:23:56 +0200 Subject: [PATCH] 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. --- build-scripts/test-recursor | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.47.2