From 610a5012e851935c65ad5a08044a7d5c1701a95a Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 28 May 2020 10:17:13 +0200 Subject: [PATCH] make: move lock and rand checks to precheck target There's no reason to wait with running contrib/scripts/lock-check.sh and contrib/scripts/rand-check.sh until after the build (i.e. the postcheck target) as they are using only `grep` to check. Move them to the precheck target so these errors are caught earlier. Updates #11730 Signed-off-by: Tobias Klauser --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ae65c4ac5fa5..9f3d5aae6341 100644 --- a/Makefile +++ b/Makefile @@ -456,6 +456,10 @@ endif $(QUIET) contrib/scripts/check-missing-tags-in-tests.sh @$(ECHO_CHECK) contrib/scripts/check-assert-deep-equals.sh $(QUIET) contrib/scripts/check-assert-deep-equals.sh + @$(ECHO_CHECK) contrib/scripts/lock-check.sh + $(QUIET) contrib/scripts/lock-check.sh + @$(ECHO_CHECK) contrib/scripts/rand-check.sh + $(QUIET) contrib/scripts/rand-check.sh pprof-help: @echo "Available pprof targets:" @@ -506,10 +510,6 @@ install-manpages: postcheck: build $(QUIET)$(MAKE) $(SUBMAKEOPTS) -C Documentation update-cmdref check - @$(ECHO_CHECK) contrib/scripts/lock-check.sh - $(QUIET) contrib/scripts/lock-check.sh - @$(ECHO_CHECK) contrib/scripts/rand-check.sh - $(QUIET) contrib/scripts/rand-check.sh minikube: $(QUIET) contrib/scripts/minikube.sh