taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 6c3b97b1a5f75e6abfb0822251daa3b9166970fb
parent c3e0d433065eca300d536c936b6327d7fe297223
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Tue, 20 Dec 2016 10:46:33 +0100

- --coverage option for main build script
- sleep 3 secs after launching the db via ARM before compiling

Diffstat:
Mbin/taler-deployment-build | 16++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/bin/taler-deployment-build b/bin/taler-deployment-build @@ -1,5 +1,8 @@ #!/bin/bash +# Invocation +# $ taler-deployment-build [--coverage] + set -eu cd $HOME/deployment @@ -17,13 +20,22 @@ fi source $HOME/activate -# Start database +# Start database: needed because testcases run after compilation +# need db taler-deployment-arm -s taler-deployment-arm -i taler-postgres-standalone +# Make sure db is properly launched +sleep 3 + cd $HOME/deployment/taler-build ./invalidate.sh -make + +if test ${1:-notgiven} = "--coverage"; then + make lcov +else + make +fi # Stop database taler-deployment-arm -k taler-postgres-standalone