From 2cae4e38c4e6a3b0eff6787da5ae5e0e307563cc Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 19 Dec 2016 14:56:18 +0100 Subject: - Starting the DB via ARM before compilation. - Passing --coverage flag to compiling script when needed. --- bin/taler-deployment-build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'bin/taler-deployment-build') 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 -- cgit v1.2.3