diff options
author | Yann Collet <cyan@fb.com> | 2020-09-17 17:29:31 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2020-09-17 17:29:31 (GMT) |
commit | b4a64e0eac8f39415b2fa3573561f9325f7296c1 (patch) | |
tree | 1a1ff6516f2a8156e50115c271bb8aacf63d4806 /Makefile | |
parent | 4f33a5935b36783abb930252e4da487625817ee2 (diff) | |
download | lz4-b4a64e0eac8f39415b2fa3573561f9325f7296c1.zip lz4-b4a64e0eac8f39415b2fa3573561f9325f7296c1.tar.gz lz4-b4a64e0eac8f39415b2fa3573561f9325f7296c1.tar.bz2 |
fix ubsan test
which now fails with a clear error as intended
(not just print a status and move on).
should be reproduced on travisCI
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -124,8 +124,8 @@ check: .PHONY: test test: - $(MAKE) -C $(TESTDIR) $@ - $(MAKE) -C $(EXDIR) $@ + CFLAGS="$(CFLAGS)" $(MAKE) -C $(TESTDIR) $@ + CFLAGS="$(CFLAGS)" $(MAKE) -C $(EXDIR) $@ clangtest: CFLAGS ?= -O3 clangtest: CFLAGS += -Werror -Wconversion -Wno-sign-conversion @@ -143,7 +143,7 @@ clangtest-native: clean @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(TESTDIR) native CC=clang usan: clean - CC=clang CFLAGS="-O3 -g -fsanitize=undefined" $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1 + CC=clang CFLAGS="-O3 -g -fsanitize=undefined -fno-sanitize-recover=undefined" $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1 usan32: clean CFLAGS="-m32 -O3 -g -fsanitize=undefined" $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1 |