github.com/number571/tendermint@v0.34.11-gost/test/Makefile (about) 1 #!/usr/bin/make -f 2 3 ######################################## 4 ### Testing 5 6 BINDIR ?= $(GOPATH)/bin 7 8 ## required to be run first by most tests 9 build_docker_test_image: 10 docker build -t tester -f ./test/docker/Dockerfile . 11 .PHONY: build_docker_test_image 12 13 ### coverage, app, persistence, and libs tests 14 test_cover: 15 # run the go unit tests with coverage 16 bash test/test_cover.sh 17 .PHONY: test_cover 18 19 test_apps: 20 # run the app tests using bash 21 # requires `abci-cli` and `tendermint` binaries installed 22 bash test/app/test.sh 23 .PHONY: test_apps 24 25 test_abci_apps: 26 bash abci/tests/test_app/test.sh 27 .PHONY: test_abci_apps 28 29 test_abci_cli: 30 # test the cli against the examples in the tutorial at: 31 # ./docs/abci-cli.md 32 # if test fails, update the docs ^ 33 @ bash abci/tests/test_cli/test.sh 34 .PHONY: test_abci_cli 35 36 test_integrations: 37 make build_docker_test_image 38 make tools 39 make install 40 make test_cover 41 make test_apps 42 make test_abci_apps 43 make test_abci_cli 44 make test_libs 45 .PHONY: test_integrations 46 47 test_release: 48 @go test -tags release $(PACKAGES) 49 .PHONY: test_release 50 51 test100: 52 @for i in {1..100}; do make test; done 53 .PHONY: test100 54 55 ### go tests 56 test: 57 @echo "--> Running go test" 58 @go test -p 1 $(PACKAGES) -tags deadlock 59 .PHONY: test 60 61 test_race: 62 @echo "--> Running go test --race" 63 @go test -p 1 -v -race $(PACKAGES) 64 .PHONY: test_race