Skip to contentSkip to conversation

make: Add test-metadata target

PATCH In review Petr Vorel 2 participants 3 messages Nov 5, 2021 Kbuild

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 make: Add test-metadata target

And run it as part of make test.

---
Hi Cyril,

I slightly modified source, thus sent to ML.

Kind regards,
Petr

 Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Makefile +4 -0
index 63010d531..a94e0da9a 100644
@@ -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:
Signature · 5 lines
2.33.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#2 lore raw

Hi Cyril,

thanks, pushed!

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp