mirror of
https://github.com/openharmony/third_party_fsverity-utils.git
synced 2026-07-01 10:05:35 -04:00
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:
committed by
Eric Biggers
parent
5b957280e2
commit
b4ece2a612
@@ -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
|
||||
|
||||
##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user