Skip to content

Commit

Permalink
make: move lock and rand checks to precheck target
Browse files Browse the repository at this point in the history
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 <tklauser@distanz.ch>
  • Loading branch information
tklauser authored and aanm committed May 29, 2020
1 parent af9fd59 commit 610a501
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -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:"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 610a501

Please sign in to comment.