Skip to content

Commit

Permalink
common: (fix) move PKG-specific variables out of the testconfig...
Browse files Browse the repository at this point in the history
...generating script

Ref: #5802

Signed-off-by: Jan Michalski <jan.michalski@intel.com>
  • Loading branch information
janekmi committed Jul 26, 2023
1 parent ffb8b30 commit fbd73f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/docker/run-build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbd73f3

Please sign in to comment.