diff options
author | NavaL <ayoyo@thoughtworks.com> | 2016-09-26 10:58:07 +0200 |
---|---|---|
committer | NavaL <ayoyo@thoughtworks.com> | 2016-09-26 10:58:07 +0200 |
commit | 833ed49c24a2b1ba87d5bdf7c1d660e68602defc (patch) | |
tree | 2c219ad1bd0aa8b9829b453d819d28dfc6d0c1da /service/go | |
parent | e70df3d6d654c13992d5f58b9c2b7606548e3316 (diff) |
cleaning pyc files before running tests
Diffstat (limited to 'service/go')
-rwxr-xr-x | service/go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -111,6 +111,10 @@ function runFunctionalTests { echo "Done." } +function cleanPyc { + find . -name '*.pyc' -delete +} + if [ "$1" == 'test' ]; then set -e runPep8 @@ -118,9 +122,11 @@ if [ "$1" == 'test' ]; then runIntegrationTests "${@:2}" elif [ "$1" == 'unit' ]; then set -e + cleanPyc runUnitTests elif [ "$1" == 'integration' ]; then set -e + cleanPyc runIntegrationTests elif [ "$1" == 'pep8' ]; then set -e |