You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
438 B

  1. #! /bin/bash
  2. set -e
  3. echo `pwd`
  4. BRANCH=`git rev-parse --abbrev-ref HEAD`
  5. echo "Current branch: $BRANCH"
  6. # go test --race github.com/tendermint/tendermint/...
  7. make test_race
  8. # run the app tests
  9. bash test/app/test.sh
  10. if [[ "$BRANCH" == "master" || $(echo "$BRANCH" | grep "release-") != "" ]]; then
  11. echo ""
  12. echo "* branch $BRANCH; testing libs"
  13. # checkout every github.com/tendermint dir and run its tests
  14. bash test/test_libs.sh
  15. fi