]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
Makefile: Add check target
authorPetr Vorel <petr.vorel@gmail.com>
Fri, 21 Sep 2018 20:29:16 +0000 (22:29 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 25 Sep 2018 07:56:40 +0000 (09:56 +0200)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Makefile

index 25de3893cae4edddc9dfd59c88191b6211c433aa..b7488addc6f2eb3f2d6cb4a4f4bc0b711dfba56b 100644 (file)
--- 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