aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-03-01 10:57:32 +0000
committerGitHub <noreply@github.com>2021-03-01 10:57:32 +0000
commitbb0ea196f62bfad9f4ef89ab20824a16644c6b0e (patch)
tree52f88b714f77a24c0e8f24f7b40e6d77f885f2ee /Makefile
parent2d39c2cc5e5cb919821979771d2101a5f423ce14 (diff)
downloadlibvfio-user-bb0ea196f62bfad9f4ef89ab20824a16644c6b0e.zip
libvfio-user-bb0ea196f62bfad9f4ef89ab20824a16644c6b0e.tar.gz
libvfio-user-bb0ea196f62bfad9f4ef89ab20824a16644c6b0e.tar.bz2
run unit tests under valgrind too (#358)
If we're not running ASAN, use valgrind. Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9c15d88..6607fe6 100644
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,7 @@ $(BUILD_DIR)/Makefile:
-D "CMAKE_C_FLAGS:STRING=$(CFLAGS)" \
-D "CMAKE_BUILD_TYPE:STRING=$(CMAKE_BUILD_TYPE)" \
-D "CMAKE_INSTALL_PREFIX=$(INSTALL_PREFIX)" \
+ -D "WITH_ASAN=$(WITH_ASAN)" \
$(CURDIR)
tags: