Skip to content
Snippets Groups Projects
Commit 37aebe3e authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[Makefile] Add asan(-test) targets

parent 7882ab03
No related branches found
No related tags found
No related merge requests found
Pipeline #83937 passed
...@@ -83,6 +83,18 @@ lto: ...@@ -83,6 +83,18 @@ lto:
EMPER_B_LTO=true \ EMPER_B_LTO=true \
BUILDDIR="build-$@" BUILDDIR="build-$@"
.PHONY: asan
asan:
rm -f build
$(MAKE) build \
EMPER_LOG_LEVEL="Info" \
EMPER_B_SANITIZE=address \
BUILDDIR="build-$@"
.PHONY: asan-test
asan-test: asan
meson test -C build-asan
.PHONY: fast-static-analysis .PHONY: fast-static-analysis
fast-static-analysis: all check-format check-license doc fast-static-analysis: all check-format check-license doc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment