1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-05-11 05:57:13 +00:00
Zach 13a2013229 Testing refactor for Jenkins ()
* de-mystify tests & run them in parallel ()

* test optimization for jenkins ()

* makefile cleanup

* tests: split fast and slow go tests, closes 

* pr comments

* restore circle conditions

* fix need_abci

* ...

* docker run: no :Z for circle?

* Remove cmd breaking comment
2018-03-08 18:52:38 +04:00

15 lines
335 B
Bash

#! /bin/bash
PKGS=$(go list github.com/tendermint/tendermint/... | grep -v /vendor/)
set -e
echo "mode: atomic" > coverage.txt
for pkg in ${PKGS[@]}; do
go test -v -timeout 30m -race -coverprofile=profile.out -covermode=atomic "$pkg"
if [ -f profile.out ]; then
tail -n +2 profile.out >> coverage.txt;
rm profile.out
fi
done