diff mbox series

[iproute2,1/1] Makefile: Add check target

Message ID 20180921202916.27933-1-petr.vorel@gmail.com
State Accepted, archived
Delegated to: stephen hemminger
Headers show
Series [iproute2,1/1] Makefile: Add check target | expand

Commit Message

Petr Vorel Sept. 21, 2018, 8:29 p.m. UTC
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Stephen Hemminger Sept. 25, 2018, 8:12 a.m. UTC | #1
On Fri, 21 Sep 2018 22:29:16 +0200
Petr Vorel <petr.vorel@gmail.com> wrote:

> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 25de3893..b7488add 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,7 @@  help:
 	@echo " clean               - remove products of build"
 	@echo " distclean           - remove configuration and build"
 	@echo " install             - install binaries on local machine"
+	@echo " check               - run tests"
 	@echo " cscope              - build cscope database"
 	@echo " snapshot            - generate version number header"
 	@echo ""
@@ -118,6 +119,9 @@  clobber:
 
 distclean: clobber
 
+check:
+	cd testsuite && $(MAKE) && $(MAKE) alltests
+
 cscope:
 	cscope -b -q -R -Iinclude -sip -slib -smisc -snetem -stc