From: Stefan Metzmacher Date: Mon, 15 Jan 2024 12:06:57 +0000 (+0100) Subject: script/autobuild.py: also pass PYTHONPATH to make test of 'samba-ctdb' X-Git-Tag: talloc-2.4.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea1ec424ad02a79b4e29453bc50d4e631251f2ae;p=thirdparty%2Fsamba.git script/autobuild.py: also pass PYTHONPATH to make test of 'samba-ctdb' Otherwise tests won't find the custom tdb python bindings Signed-off-by: Stefan Metzmacher Reviewed-by: Günther Deschner --- diff --git a/script/autobuild.py b/script/autobuild.py index afec075cc09..ecec352fe1b 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -861,7 +861,7 @@ tasks = { ("ctdb-check", "test -e ${PREFIX_DIR}/sbin/ctdbd"), ("test", make_test( - cmd='make test', + cmd='PYTHONPATH=${PYTHON_PREFIX}:$PYTHONPATH make test', INJECT_SELFTEST_PREFIX=0, include_envs=["clusteredmember"]) ),