CI: Fix the ThreadSanitizer build

This commit is contained in:
Tim Wojtulewicz 2022-04-19 10:04:34 -07:00
parent cdadc32985
commit 885ed71464
3 changed files with 53 additions and 12 deletions

View file

@ -19,6 +19,10 @@ fi
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
. ${SCRIPT_DIR}/common.sh
if [ -n "${ZEEK_TSAN_OPTIONS}" ]; then
export TSAN_OPTIONS=${ZEEK_TSAN_OPTIONS}
fi
function pushd {
command pushd "$@" >/dev/null || exit 1
}