Whamcloud - gitweb
LU-1600 lnet: another race in lnet_nid2peer_locked
[fs/lustre-release.git] / build / Makefile
index 11c9c6e..0e5c8d4 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