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 ced1f20 commit aa0034d
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 @@ -71,15 +71,17 @@ $SCRIPTSDIR/configure-tests.sh
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 aa0034d

Please sign in to comment.