Static analyzer generates error codes on bug suspicion

This commit is contained in:
Yann Collet 2015-04-16 12:48:50 +01:00
parent 2cf8a19e9d
commit 0ed2e7111e

View File

@ -104,10 +104,10 @@ clangtest: clean
$(MAKE) all CC=clang CPPFLAGS="-Werror -Wconversion -Wno-sign-conversion"
sanitize: clean
$(MAKE) test CC=clang CPPFLAGS="-g -fsanitize=undefined" FUZZER_TIME="-T1mn"
$(MAKE) test CC=clang CPPFLAGS="-g -fsanitize=undefined" FUZZER_TIME="-T1mn" NB_LOOPS=-i1
staticAnalyze: clean
scan-build -v $(MAKE) all CFLAGS=-g
scan-build --status-bugs -v $(MAKE) all CFLAGS=-g
armtest: clean
cd lib; $(MAKE) -e all CC=arm-linux-gnueabi-gcc CFLAGS="-O3 -Werror"