[vala/staging] build: Add "test-asan" make target for convenience
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] build: Add "test-asan" make target for convenience
- Date: Tue, 4 May 2021 07:31:58 +0000 (UTC)
commit 318df95914d5db6a25916972180ab4faee992d19
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue May 4 09:21:10 2021 +0200
build: Add "test-asan" make target for convenience
Makefile.am | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/Makefile.am b/Makefile.am
index 992f95f51..336125516 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -48,6 +48,10 @@ bootstrap: all
test:
cd tests && $(MAKE) $(AM_MAKEFLAGS) check
+.PHONY: test-asan
+test-asan:
+ cd tests && $(MAKE) $(AM_MAKEFLAGS) check TEST_CFLAGS="$(TEST_CFLAGS) -g3 -fsanitize=address
-fno-omit-frame-pointer"
+
#if ENABLE_COVERAGE
.PHONY: coverage coverage-report
coverage:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]