diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-12-19 14:56:18 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-12-19 14:56:18 +0100 |
commit | 2cae4e38c4e6a3b0eff6787da5ae5e0e307563cc (patch) | |
tree | 0ffc7a1dae2889e25a7059d4718df49e4ca5fc3e /bin/taler-deployment-build | |
parent | 0e03cc076050cf4bbe25f5e516c6989fb89097ee (diff) | |
download | deployment-2cae4e38c4e6a3b0eff6787da5ae5e0e307563cc.tar.gz deployment-2cae4e38c4e6a3b0eff6787da5ae5e0e307563cc.tar.bz2 deployment-2cae4e38c4e6a3b0eff6787da5ae5e0e307563cc.zip |
- Starting the DB via ARM before compilation.
- Passing --coverage flag to compiling script when needed.
Diffstat (limited to 'bin/taler-deployment-build')
-rwxr-xr-x | bin/taler-deployment-build | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/taler-deployment-build b/bin/taler-deployment-build index d20ce95..c76213a 100755 --- a/bin/taler-deployment-build +++ b/bin/taler-deployment-build @@ -8,6 +8,23 @@ cd $HOME/deployment git fetch git reset --hard FETCH_HEAD +if ! test $HOME/activate; then + echo "$HOME/activate not found. Although the compilation + is not affected, testcases will fail because the database + cannot be launched" + exit +fi + +source $HOME/activate + +# Start database +taler-deployment-arm -s +taler-deployment-arm -i taler-postgres-standalone + cd $HOME/deployment/taler-build ./invalidate.sh make + +# Stop database +taler-deployment-arm -k taler-postgres-standalone +taler-deployment-arm -e |