[LTP] [PATCH 1/1] make: Add test-metadata target

Petr Vorel pvorel@suse.cz
Fri Nov 5 12:22:32 CET 2021


And run it as part of make test.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi Cyril,

I slightly modified source, thus sent to ML.

Kind regards,
Petr

 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index 63010d531..a94e0da9a 100644
--- a/Makefile
+++ b/Makefile
@@ -207,6 +207,7 @@ ifneq ($(build),$(host))
 	$(error running tests on cross-compile build not supported)
 endif
 	$(call _test)
+	$(MAKE) test-metadata
 
 test-c: lib-all
 ifneq ($(build),$(host))
@@ -220,6 +221,9 @@ ifneq ($(build),$(host))
 endif
 	$(call _test,-s)
 
+test-metadata:
+	$(MAKE) -C $(abs_srcdir)/metadata/ test
+
 ## Help
 .PHONY: help
 help:
-- 
2.33.1



More information about the ltp mailing list