summaryrefslogtreecommitdiff
path: root/service/go
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-03-23 17:22:12 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-03-23 18:03:30 -0300
commita31b285e278de1bb6d2b684509d680006a09f598 (patch)
tree86f0c3abf4f7393863f690b2c7af0212abdbcbdf /service/go
parent1d649b6476aa50e3158cc5641ce9201f859e818f (diff)
-e will not run on all the steps anymore
Diffstat (limited to 'service/go')
-rwxr-xr-xservice/go6
1 files changed, 4 insertions, 2 deletions
diff --git a/service/go b/service/go
index 809dd773..7bcc0c4b 100755
--- a/service/go
+++ b/service/go
@@ -1,7 +1,5 @@
#!/bin/bash
-set -e
-
NUM_OF_CORES=''
TRIAL_PATH=''
@@ -95,14 +93,18 @@ function runCoverageUnitAndIntegration {
}
if [ "$1" == 'test' ]; then
+ set -e
runPep8
runUnitTests "${@:2}"
runIntegrationTests "${@:2}"
elif [ "$1" == 'unit' ]; then
+ set -e
runUnitTests
elif [ "$1" == 'integration' ]; then
+ set -e
runIntegrationTests
elif [ "$1" == 'pep8' ]; then
+ set -e
runPep8
elif [ "$1" == 'setuppy' ]; then
setuppy