Wrap ./fsverity in TEST_WRAPPER_PROG too

Allows make check to run fsverity under the desired tool

Signed-off-by: Luca Boccassi <bluca@debian.org>
Link: https://lore.kernel.org/r/20201222001033.302274-2-bluca@debian.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
Luca Boccassi
2020-12-22 00:10:32 +00:00
committed by Eric Biggers
parent 5b957280e2
commit b4ece2a612
+2 -2
View File
@@ -87,9 +87,9 @@ CFLAGS += $(shell "$(PKGCONF)" libcrypto --cflags 2>/dev/null || echo)
# If we are dynamically linking, when running tests we need to override
# LD_LIBRARY_PATH as no RPATH is set
ifdef USE_SHARED_LIB
RUN_FSVERITY = LD_LIBRARY_PATH=./ ./fsverity
RUN_FSVERITY = LD_LIBRARY_PATH=./ $(TEST_WRAPPER_PROG) ./fsverity
else
RUN_FSVERITY = ./fsverity
RUN_FSVERITY = $(TEST_WRAPPER_PROG) ./fsverity
endif
##############################################################################