Skip to content

Commit

Permalink
Merge pull request #5824 from janekmi/nightly-debug
Browse files Browse the repository at this point in the history
common: (fix) move PKG-specific variables out of the testconfig...
  • Loading branch information
janekmi committed Jul 26, 2023
2 parents aa57bae + 695f3b1 commit 26c6a15
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 26c6a15

Please sign in to comment.