Makefile: Add check target

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Petr Vorel 2018-09-21 22:29:16 +02:00 committed by Stephen Hemminger
parent c1360e3b48
commit 8804a8c0d3

View File

@ -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