aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-24 10:12:02 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-24 10:12:02 -0500
commitdc64fcb8a6c046c6e30665a6217b8fb6ec2471bc (patch)
tree7d2007290c2c472c9b6104bedc1633c2cbda6805
parentMerge pull request #5878 (diff)
parentMakefile: add a top level debug target for ASAN (diff)
downloadmonero-dc64fcb8a6c046c6e30665a6217b8fb6ec2471bc.tar.xz
Merge pull request #5881
11fa442 Makefile: add a top level debug target for ASAN (moneromooo-monero)
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1fd310915..d3d684c5b 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,10 @@ debug-test:
mkdir -p $(builddir)/debug
cd $(builddir)/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug $(topdir) && $(MAKE) && $(MAKE) ARGS="-E libwallet_api_tests" test
+debug-test-asan:
+ mkdir -p $(builddir)/debug
+ cd $(builddir)/debug && cmake -D BUILD_TESTS=ON -D SANITIZE=ON -D CMAKE_BUILD_TYPE=Debug $(topdir) && $(MAKE) && $(MAKE) ARGS="-E libwallet_api_tests" test
+
debug-test-trezor:
mkdir -p $(builddir)/debug
cd $(builddir)/debug && cmake -D BUILD_TESTS=ON -D TREZOR_DEBUG=ON -D CMAKE_BUILD_TYPE=Debug $(topdir) && $(MAKE) && $(MAKE) ARGS="-E libwallet_api_tests" test