mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 10:46:21 +00:00
ci: remove ASan from Valgrind check
ASan and Valgrind both intercept memory allocations and management at runtime. Running them simultaneously might lead to conflicts in memory tracking. This change ensures that during the Valgrind phase of the build matrix, only Valgrind is responsible for memory analysis, avoiding redundant overhead and ensuring more reliable results. Signed-off-by: Michael Vetter <jubalh@iodoru.org>
This commit is contained in:
@@ -94,7 +94,7 @@ fi
|
||||
if [[ "$ARCH" == linux* ]]; then
|
||||
echo -e "${YELLOW}--> Running Valgrind check with full features ${BACKEND_OPT} ${EXTRA_ARGS}${NC}"
|
||||
rm -rf build_valgrind
|
||||
meson setup build_valgrind ${tests[0]} ${BACKEND_OPT} -Dtests=true -Db_sanitize=address,undefined ${EXTRA_ARGS}
|
||||
meson setup build_valgrind ${tests[0]} ${BACKEND_OPT} -Dtests=true -Db_sanitize=undefined ${EXTRA_ARGS}
|
||||
meson compile -C build_valgrind
|
||||
meson test -C build_valgrind "unit tests" --print-errorlogs --wrap=valgrind || echo "Valgrind issues detected"
|
||||
rm -rf build_valgrind
|
||||
|
||||
Reference in New Issue
Block a user