Statistics
| Branch: | Tag: | Revision:

root / ci / tests.sh @ f9259573

History | View | Annotate | Download (306 Bytes)

1
#!/usr/bin/env sh
2

    
3
set -e
4

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

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