]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Avoid running SNMP tests on the current buildbot setup 13166/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 23 Aug 2023 11:23:56 +0000 (13:23 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 23 Aug 2023 12:15:37 +0000 (14:15 +0200)
Since the change from nose to pytest, the SNMP exclusion via the environment
var NOSE_EXLUDE does no longer work.

build-scripts/test-recursor

index ac41da9da3f9fae84236aa782fead9c83bf05d13..b0999567f1dc3e6c42a489fb737e9d4210c3a36a 100755 (executable)
@@ -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