From b691adc4874e5e28353f036c077c08ef00ec3b2b Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Fri, 23 Feb 2024 05:34:49 +1100 Subject: [PATCH] Add `unittests` make target (#11628) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index cf7d5eecc..1e6ff93aa 100644 --- a/Makefile +++ b/Makefile @@ -307,6 +307,10 @@ install-completions: install -C ./scripts/bash-completion/lotus /usr/share/bash-completion/completions/lotus install -C ./scripts/zsh-completion/lotus /usr/local/share/zsh/site-functions/_lotus +unittests: + @$(GOCC) test $(shell go list ./... | grep -v /lotus/itests) +.PHONY: unittests + clean: rm -rf $(CLEAN) $(BINS) -$(MAKE) -C $(FFI_PATH) clean