Skip to content

Commit

Permalink
fixing LD_LIBRARY_PATH and adding ls to know what happens inside the …
Browse files Browse the repository at this point in the history
…container
  • Loading branch information
Ximaz committed May 5, 2024
1 parent c1af621 commit b0ed195
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion valgrind.bash
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ main() {
local VALGRIND_REPORTS="valgrind-reports.log"
local VALGRIND_FLAGS=$(prepare_valgrind_flags)

if [[ "${INPUT_LD_LIBRARY_PATH}" == "" ]]; then
if [[ "${INPUT_LD_LIBRARY_PATH}" != "" ]]; then
export LD_LIBRARY_PATH="${INPUT_LD_LIBRARY_PATH}"
fi
echo $(ls)
valgrind $VALGRIND_FLAGS "${INPUT_BINARY_PATH}" $INPUT_BINARY_ARGS 2>"${VALGRIND_REPORTS}"
parse_valgrind_reports "${VALGRIND_REPORTS}"
}
Expand Down

0 comments on commit b0ed195

Please sign in to comment.