[LTP] [PATCH v2 4/7] Makefile: Add target to run shell loader
Petr Vorel
pvorel@suse.cz
Tue Dec 10 23:57:50 CET 2024
Reviewed-by: Li Wang <liwang@redhat.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
The same as in v1.
Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Makefile b/Makefile
index ae0247761c..5066789349 100644
--- a/Makefile
+++ b/Makefile
@@ -188,6 +188,7 @@ ifneq ($(build),$(host))
$(error running tests on cross-compile build not supported)
endif
$(call _test)
+ $(MAKE) test-shell-loader
$(MAKE) test-metadata
test-c: lib-all
@@ -202,6 +203,12 @@ ifneq ($(build),$(host))
endif
$(call _test,-s)
+test-shell-loader: lib-all
+ifneq ($(build),$(host))
+ $(error running tests on cross-compile build not supported)
+endif
+ $(top_srcdir)/testcases/lib/run_tests.sh -b $(abs_builddir)
+
test-metadata: metadata-all
$(MAKE) -C $(abs_srcdir)/metadata test
--
2.45.2
More information about the ltp
mailing list