mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
* de-mystify tests & run them in parallel (#1031) * test optimization for jenkins (#1093) * makefile cleanup * tests: split fast and slow go tests, closes #1055 * pr comments * restore circle conditions * fix need_abci * ... * docker run: no :Z for circle? * Remove cmd breaking comment
15 lines
335 B
Bash
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
|