From: Peter van Dijk Date: Tue, 31 May 2022 10:13:57 +0000 (+0200) Subject: protobuf: use python implementation during tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11703%2Fhead;p=thirdparty%2Fpdns.git protobuf: use python implementation during tests (cherry picked from commit 2dd4d60b8103a64c796296647ad7b45226d5a5bd) --- diff --git a/regression-tests.dnsdist/runtests b/regression-tests.dnsdist/runtests index 93543922c5..1be07d2a62 100755 --- a/regression-tests.dnsdist/runtests +++ b/regression-tests.dnsdist/runtests @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -e +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + if [ ! -d .venv ]; then if [ -z "$PYTHON" ]; then if [ ! -z "$(python3 --version | egrep '^Python 3.[6789]' 2>/dev/null)" ]; then diff --git a/regression-tests.recursor-dnssec/runtests b/regression-tests.recursor-dnssec/runtests index b21a776e66..b2d8745af4 100755 --- a/regression-tests.recursor-dnssec/runtests +++ b/regression-tests.recursor-dnssec/runtests @@ -1,6 +1,7 @@ #!/bin/sh PYTHON=${PYTHON:-python2} +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python if [ ! -d .venv ]; then virtualenv -p ${PYTHON} .venv