Skip to contentSkip to conversation

Makefile: Add check target

PATCH Applied Petr Vorel 2 participants 2 messages Sep 22, 2018 – Sep 25, 2018

Subsystems (3)
lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 Makefile: Add check target

---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Makefile +4 -0
index 25de3893..b7488add 100644
@@ -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
 
Signature · 1 line
2.19.0.rc2