Re: [PATCH iproute2 1/1] Makefile: Add check target

2018-09-25 Thread Stephen Hemminger
On Fri, 21 Sep 2018 22:29:16 +0200
Petr Vorel  wrote:

> Signed-off-by: Petr Vorel 

Applied, thanks.


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

2018-09-21 Thread Petr Vorel
Signed-off-by: Petr Vorel 
---
 Makefile | 4 
 1 file changed, 4 insertions(+)

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
 
-- 
2.19.0.rc2