aboutsummaryrefslogtreecommitdiff
path: root/libstb/secvar/test/Makefile.check
diff options
context:
space:
mode:
Diffstat (limited to 'libstb/secvar/test/Makefile.check')
-rw-r--r--libstb/secvar/test/Makefile.check5
1 files changed, 4 insertions, 1 deletions
diff --git a/libstb/secvar/test/Makefile.check b/libstb/secvar/test/Makefile.check
index 6cb1687..5aeeb54 100644
--- a/libstb/secvar/test/Makefile.check
+++ b/libstb/secvar/test/Makefile.check
@@ -10,6 +10,9 @@ HOSTCFLAGS += -I$(SRC)/$(LIBSTB_DIR)/crypto/mbedtls/include
# Needed because x86 and POWER disagree on the type for uint64_t, causes printf issues
HOSTCFLAGS+= -Wno-format
+# we want to test for leaks too:
+SECVAR_VALGRIND := $(VALGRIND) --leak-check=full
+
.PHONY : secvar-check
secvar-check: $(SECVAR_TEST:%=%-check) $(SECVAR_TEST_NOSTUB:%=%-check)
@@ -27,7 +30,7 @@ $(SECVAR_TEST:%=%-gcov-run) : %-run: %
$(SECVAR_TEST:%=%-check) : %-check: %
@dd if=/dev/zero of=secboot.img bs=128k count=1 2> /dev/null
- $(call QTEST, RUN-TEST ,$(VALGRIND) $<, $<)
+ $(call QTEST, RUN-TEST ,$(SECVAR_VALGRIND) $<, $<)
@$(RM) -f secboot.img
HOST_MBEDTLS_OBJS=$(MBEDTLS_OBJS:%.o=$(CRYPTO_DIR)/%.host.o)