Skip to content
This repository has been archived by the owner on Jul 15, 2018. It is now read-only.

Commit

Permalink
Merge branch 'develop' into cwgoes/timestamp-in-evidence
Browse files Browse the repository at this point in the history
  • Loading branch information
ebuchman authored May 20, 2018
2 parents e196dac + bb68d7e commit a1b8579
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 24 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
paths:
- /go/src/github.com/tendermint/abci

test_integration:
test_apps:
<<: *defaults
steps:
- attach_workspace:
Expand All @@ -56,10 +56,10 @@ jobs:
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Run integration tests
name: Run apps tests
command: |
export PATH="$GOBIN:$PATH"
bash tests/test.sh
bash tests/test_app/test.sh
test_cover:
<<: *defaults
Expand Down Expand Up @@ -111,9 +111,9 @@ workflows:
- test_cover:
requires:
- setup_dependencies
- test_integration:
- test_apps:
requires:
- setup_dependencies
- upload_coverage:
requires:
- test_integration
- test_cover
15 changes: 13 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,20 @@ test_race:
@echo "==> Running go test --race"
@go test -v -race $(PACKAGES)

test_integrations:
@bash test.sh
### three tests tested by Jenkins
test_cover:
@ bash tests/test_cover.sh

test_apps:
# test the counter using a go test script
@ bash tests/test_app/test.sh

test_cli:
# test the cli against the examples in the tutorial at tendermint.com
@ bash tests/test_cli/test.sh

fmt:
@ go fmt ./...

########################################
### Formatting, linting, and vetting
Expand Down
11 changes: 0 additions & 11 deletions tests/test.sh

This file was deleted.

6 changes: 0 additions & 6 deletions test.sh → tests/test_cover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,3 @@ for d in $(go list ./... | grep -v vendor); do
rm profile.out
fi
done

echo "==> Running integration tests (./tests)"
find . -path ./vendor -prune -o -name "*.sock" -exec rm {} \;
# tests/test.sh requires that we run the installed cmds, must not be out of date
make install
bash tests/test.sh

0 comments on commit a1b8579

Please sign in to comment.