diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-08-13 19:52:15 +1000 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-09-11 09:49:11 +0200 |
| commit | cb771ac1f59ced0aba5acedacfd4e92a9d0727b6 (patch) | |
| tree | 68cce5c1dfbb16e2561333ee8c390deaac62578e /tests/docker/test-debug | |
| parent | a66f28df650166ae8b50c992eea45e7b247f4143 (diff) | |
| download | focaccia-qemu-cb771ac1f59ced0aba5acedacfd4e92a9d0727b6.tar.gz focaccia-qemu-cb771ac1f59ced0aba5acedacfd4e92a9d0727b6.zip | |
meson: Split --enable-sanitizers to --enable-{asan, ubsan}
We do not always want both address and undefined behavior sanitizers running at the same time. For the gitlab custom-runners, drop to only --enable-ubsan. These jobs are not run by default, but as will be obvious in the next patch, we don't run ASan on x86 either, and it seems wrong to hold aarch64 and s390x to a different standard. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20240813095216.306555-2-richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/docker/test-debug')
| -rwxr-xr-x | tests/docker/test-debug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/docker/test-debug b/tests/docker/test-debug index f52f16328c..678ceccc27 100755 --- a/tests/docker/test-debug +++ b/tests/docker/test-debug @@ -1,6 +1,6 @@ #!/bin/bash -e # -# Compile and check with clang & --enable-debug --enable-sanitizers. +# Compile and check with clang & debug & sanitizers # # Copyright (c) 2016-2018 Red Hat Inc. # @@ -19,7 +19,7 @@ requires_binary clang cd "$BUILD_DIR" OPTS="--cxx=clang++ --cc=clang --host-cc=clang" -OPTS="--enable-debug --enable-sanitizers $OPTS" +OPTS="--enable-debug --enable-asan --enable-ubsan $OPTS" export ASAN_OPTIONS=detect_leaks=0 build_qemu $OPTS |