[LTP] [PATCH v3 3/5] make: Add make test{, -c, -shell} targets
Petr Vorel
pvorel@suse.cz
Tue Jun 29 23:48:06 CEST 2021
For testing C and shell API.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Simplicity wins :).
Makefile | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Makefile b/Makefile
index 56812d77b..7c1dba7e6 100644
--- a/Makefile
+++ b/Makefile
@@ -192,6 +192,16 @@ $(INSTALL_TARGETS): $(INSTALL_DIR) $(DESTDIR)/$(bindir)
## Install
install: $(INSTALL_TARGETS)
+## Test
+test: lib-all
+ $(top_srcdir)/lib/newlib_tests/runtest.sh
+
+test-c: lib-all
+ $(top_srcdir)/lib/newlib_tests/runtest.sh -c
+
+test-shell: lib-all
+ $(top_srcdir)/lib/newlib_tests/runtest.sh -s
+
## Help
.PHONY: help
help:
--
2.32.0
More information about the ltp
mailing list