From 22eef2aa2029dd27f8441116598405f4f8132b83 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Wed, 24 Oct 2018 08:20:59 -0400 Subject: [PATCH] Add test-import to makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c03eadc..f44c3adf 100644 --- a/Makefile +++ b/Makefile @@ -147,6 +147,10 @@ test-lint: @echo "--> Running gometalinter..." @gometalinter.v2 --config=gometalinter.json --exclude=vendor ./... +test-import: + @go test ./importer -v --vet=off --run=TestImportBlocks --datadir tmp \ + --blockchain blockchain --timeout=5m + godocs: @echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/ethermint" godoc -http=:6060 @@ -162,4 +166,4 @@ format: @find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" | xargs misspell -w .PHONY: build install update-tools tools deps godocs clean format test-lint \ -test-cli test-race test-unit test +test-cli test-race test-unit test test-import