Statistics
| Branch: | Tag: | Revision:

root / ci / tests.sh @ 994aed96

History | View | Annotate | Download (364 Bytes)

1
#!/bin/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 --traceback --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