Skip to content

Commit

Permalink
CI: Temporally deactivate sanitizer test for Ubuntu.
Browse files Browse the repository at this point in the history
Because of the bug described in tpm2-software#2792 the sanitzer test for
ubuntu is temporally deactived.

Signed-off-by: Juergen Repp <[email protected]>
  • Loading branch information
JuergenReppSIT committed Mar 20, 2024
1 parent 7709c5b commit 7020a14
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .ci/docker.run
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,13 @@ if [[ "$CC" == "gcc" && "$ENABLE_COVERAGE" == "true" ]]; then
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
if [ $little_endian -eq 1 ]; then
if echo $DOCKER_IMAGE | grep ubuntu > /dev/null; then
echo "Santitizer temporally disabled for ubuntu"
else
SANITIZER_OPTION="--with-sanitizer=undefined,address"
fi
fi
fi

if [ "$SCANBUILD" == "yes" ]; then
Expand Down

0 comments on commit 7020a14

Please sign in to comment.