From e572ce7f7fd7643e942ced336b9f968c3afa31b0 Mon Sep 17 00:00:00 2001 From: Jakub Matys Date: Tue, 15 May 2018 16:33:35 +0200 Subject: [PATCH] Make executes all tests in repo --- build/bin/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/bin/Makefile b/build/bin/Makefile index 50c40414..d81d9314 100644 --- a/build/bin/Makefile +++ b/build/bin/Makefile @@ -11,12 +11,10 @@ build-debug: prepare-sources chown $(PACKAGER) /out/blockbook test: prepare-sources - #cd $(GOPATH)/src/blockbook && go test -short ./... # FIXME - cd $(GOPATH)/src/blockbook && go test -short ./bchain/coins/btc ./bchain/coins/bch ./bchain/coins/eth ./bchain/coins/zec + cd $(GOPATH)/src/blockbook && go test -short ./... test-all: prepare-sources - # cd $(GOPATH)/src/blockbook && go test ./... # FIXME - cd $(GOPATH)/src/blockbook && go test ./bchain/coins/btc ./bchain/coins/bch ./bchain/coins/eth ./bchain/coins/zec + cd $(GOPATH)/src/blockbook && go test ./... prepare-sources: @ [ -n "`ls /src 2> /dev/null`" ] || (echo "/src doesn't exist or is empty" 1>&2 && exit 1)