From 695f3b1aa3bdf17ef174e71f761d73bc6d03dc7e Mon Sep 17 00:00:00 2001 From: Jan Michalski Date: Wed, 26 Jul 2023 08:06:02 -0400 Subject: [PATCH] common: (fix) move PKG-specific variables out of the testconfig... ...generating script Ref: #5802 Signed-off-by: Jan Michalski --- utils/docker/run-build-package.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/docker/run-build-package.sh b/utils/docker/run-build-package.sh index d477f0ec3af..46364c8f962 100755 --- a/utils/docker/run-build-package.sh +++ b/utils/docker/run-build-package.sh @@ -68,15 +68,17 @@ make -j$(nproc) case "$OS" in "opensuse/leap" | "rockylinux/rockylinux") PMDK_LIB_PATH_NONDEBUG=/usr/lib64 + DEBUG_DIR=pmdk_debug ;; "ubuntu") PMDK_LIB_PATH_NONDEBUG=/lib/x86_64-linux-gnu + DEBUG_DIR=pmdk_dbg ;; esac cat << EOF >> $WORKDIR/src/test/testconfig.sh PMDK_LIB_PATH_NONDEBUG=$PMDK_LIB_PATH_NONDEBUG -PMDK_LIB_PATH_DEBUG=$PMDK_LIB_PATH_NONDEBUG/pmdk_debug +PMDK_LIB_PATH_DEBUG=$PMDK_LIB_PATH_NONDEBUG/$DEBUG_DIR EOF ./RUNTESTS.sh -t check