diff mbox series

[v7,2/3] Wrap ./fsverity in TEST_WRAPPER_PROG too

Message ID 20201222001033.302274-2-bluca@debian.org (mailing list archive)
State Accepted
Headers show
Series [v6,1/3] Move -D_GNU_SOURCE to CPPFLAGS | expand

Commit Message

Luca Boccassi Dec. 22, 2020, 12:10 a.m. UTC
Allows make check to run fsverity under the desired tool

Signed-off-by: Luca Boccassi <bluca@debian.org>
---
v6: split from mingw patch

 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Eric Biggers Dec. 22, 2020, 6:41 p.m. UTC | #1
On Tue, Dec 22, 2020 at 12:10:32AM +0000, Luca Boccassi wrote:
> Allows make check to run fsverity under the desired tool
> 
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
> v6: split from mingw patch
> 
>  Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

- Eric
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index f1ba956..583db8e 100644
--- a/Makefile
+++ b/Makefile
@@ -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
 
 ##############################################################################