From f9ebec98a2f4610e280abf6ecdd1f7f53f160da6 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Thu, 14 Dec 2023 06:04:47 -0600 Subject: [PATCH] Fix cqlshlib cython test by definining DIST_DIR Patch by brandonwilliams, reviewed by bereng for CASSANDRA-19183 --- pylib/cassandra-cqlsh-tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pylib/cassandra-cqlsh-tests.sh b/pylib/cassandra-cqlsh-tests.sh index 91730a363e..3bbf9820e7 100755 --- a/pylib/cassandra-cqlsh-tests.sh +++ b/pylib/cassandra-cqlsh-tests.sh @@ -27,6 +27,7 @@ WORKSPACE=$1 [ "x${WORKSPACE}" != "x" ] || WORKSPACE="$(readlink -f $(dirname "$0")/..)" [ "x${BUILD_DIR}" != "x" ] || BUILD_DIR="${WORKSPACE}/build" +[ "x${DIST_DIR}" != "x" ] || DIST_DIR="${WORKSPACE}/build" export TMPDIR="$(mktemp -d ${DIST_DIR}/run-python-dtest.XXXXXX)" export PYTHONIOENCODING="utf-8"