]> git.lizzy.rs Git - dragonstd.git/commitdiff
Tests: add address sanitizer main
authorLizzy Fleckenstein <eliasfleckenstein@web.de>
Mon, 19 Dec 2022 15:06:41 +0000 (16:06 +0100)
committerLizzy Fleckenstein <eliasfleckenstein@web.de>
Mon, 19 Dec 2022 15:08:04 +0000 (16:08 +0100)
dragonstd/test/Makefile

index 2de1f9a8167c19525271dba85828ec37e965a135..aae6ac4bb5d39e744d159d3a5104b0e0dea5235a 100644 (file)
@@ -1,4 +1,4 @@
-CC=cc -g -Wall -Wextra -Werror -fmax-errors=1
+CC=cc -g -Wall -Wextra -Werror -fmax-errors=1 -fsanitize=address
 TEST=valgrind --leak-check=full --show-leak-kinds=all --quiet
 
 run: test_array test_list test_tree test_queue test_flag test_refcount_map