Whamcloud - gitweb
LU-927 ptlrpc: common interfaces for ptlrpc_thread::t_flags
[fs/lustre-release.git] / build / Makefile
index 11c9c6e..6f9b4b3 100644 (file)
@@ -54,3 +54,10 @@ endif # PATCHLEVEL
 
 echoarch:
        echo $(ARCH) >$(ARCHFILE)
+
+TESTS := $(wildcard commit.*)
+check-commit :
+       SHELL="$(SHELL)" $(SHELL) test-commit-msg.sh $(TESTS)
+
+check : check-commit
+.PHONY: check-commit