[LTP] [PATCH 2/2] make: Build metaparse before running tests

Joerg Vehlow lkml@jv-coder.de
Fri Dec 3 06:57:07 CET 2021


From: Joerg Vehlow <joerg.vehlow@aox-tech.de>

Running make test(-metadata) without make all did not
build metaparse and so the metadata tests failed.

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox-tech.de>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a94e0da9a..d4399bae6 100644
--- a/Makefile
+++ b/Makefile
@@ -221,7 +221,7 @@ ifneq ($(build),$(host))
 endif
 	$(call _test,-s)
 
-test-metadata:
+test-metadata: metadata-all
 	$(MAKE) -C $(abs_srcdir)/metadata/ test
 
 ## Help
-- 
2.25.1



More information about the ltp mailing list