Added asan tests

This commit is contained in:
Yann Collet
2015-10-23 15:21:53 +01:00
parent fc60883d42
commit 83fae977e6
4 changed files with 31 additions and 17 deletions
+8 -2
View File
@@ -32,7 +32,7 @@
# ################################################################
# Version number
export VERSION := 0.2.0
export VERSION := 0.3.0
PRGDIR = programs
ZSTDDIR = lib
@@ -83,7 +83,13 @@ armtest: clean
$(MAKE) -C $(ZSTDDIR) -e all CC=arm-linux-gnueabi-gcc MOREFLAGS="-Werror"
$(MAKE) -C $(PRGDIR) -e CC=arm-linux-gnueabi-gcc MOREFLAGS="-Werror"
sanitize: clean
usan: clean
$(MAKE) test CC=clang MOREFLAGS="-g -fsanitize=undefined"
asan: clean
$(MAKE) test CC=clang MOREFLAGS="-g -fsanitize=address"
uasan: clean
$(MAKE) test CC=clang MOREFLAGS="-g -fsanitize=address -fsanitize=undefined"
endif