Skip to content

Commit

Permalink
CI: run tests without sanitizer.
Browse files Browse the repository at this point in the history
Signed-off-by: Juergen Repp <[email protected]>
  • Loading branch information
JuergenReppSIT committed Mar 20, 2024
1 parent a516076 commit 3b3d012
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .ci/docker.run
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ if [[ "$CC" == "gcc" && "$ENABLE_COVERAGE" == "true" ]]; then
export CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS --enable-code-coverage";
fi

if ldconfig -p 2>/dev/null| grep libasan > /dev/null && ldconfig -p 2>/dev/null| grep libubsan > /dev/null; then
if [ $little_endian -eq 1 ]; then
SANITIZER_OPTION="--with-sanitizer=undefined,address"
fi
fi
#if ldconfig -p 2>/dev/null| grep libasan > /dev/null && ldconfig -p 2>/dev/null| grep libubsan > /dev/null; then
# if [ $little_endian -eq 1 ]; then
# SANITIZER_OPTION="--with-sanitizer=undefined,address"
# fi
#fi

if [ "$SCANBUILD" == "yes" ]; then
scan-build --status-bugs ../configure --enable-unit --enable-self-generated-certificate --enable-integration --with-crypto=$WITH_CRYPTO $CONFIGURE_OPTIONS
Expand Down

0 comments on commit 3b3d012

Please sign in to comment.