From 37d47cb0f1efc56ebc080aae33569ff5e92c7794 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 31 Oct 2020 00:12:40 +0100 Subject: [PATCH] Cleanup static analyser --- tests/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 3e4f8b43..e029fbfe 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -197,12 +197,14 @@ synthesis: # Code analyzer tools ##################################################################################################### -valgrind: - $(MAKE) `ls test-*.c|$(SED) 's/\.c/\.valgrind/g'` +# valgrind is not working well with MT code. +# Use of _fsanitize=address should cover all valgrind checks. +#valgrind: +# $(MAKE) `ls test-*.c|$(SED) 's/\.c/\.valgrind/g'` scan-build: clean $(RM) -rf ./mlib-report - scan-build -o ./mlib-report $(MAKE) check XCFLAGS="-std=c99" + scan-build -o ./mlib-report $(MAKE) exe XCFLAGS="-std=c99" sanitize: $(MAKE) clean check XCFLAGS="-fsanitize=address,undefined,leak"