From 9992d89d9f313fe5d1135c184fe2ccd22c5ad1b1 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 31 May 2022 12:13:57 +0200 Subject: [PATCH] protobuf: use python implementation during tests (cherry picked from commit 2dd4d60b8103a64c796296647ad7b45226d5a5bd) --- regression-tests.dnsdist/runtests | 2 ++ regression-tests.recursor-dnssec/runtests | 1 + 2 files changed, 3 insertions(+) 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 -- 2.47.2