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.

22 lines
441 B

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