Add unittests make target (#11628)

This commit is contained in:
Rod Vagg 2024-02-23 05:34:49 +11:00 committed by GitHub
parent 3a87b3e9e5
commit b691adc487
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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