Statistics
| Branch: | Tag: | Revision:

root / ci / tests.sh @ 34262911

History | View | Annotate | Download (360 Bytes)

1
#!/usr/bin/env sh
2

    
3
set -e
4

    
5
export SYNNEFO_SETTINGS_DIR='/tmp/snf-test-settings'
6

    
7
APPS="api db logic plankton quotas vmapi im quotaholder_app helpdesk"
8
TEST="$(which snf-manage) test $APPS --settings=synnefo.settings.test"
9

    
10
if coverage >/dev/null 2>&1; then
11
  coverage run $TEST
12
  coverage report --include=snf-*
13
else
14
  echo "coverage not installed"
15
  $TEST
16
fi