tests.sh 306 Bytes
Newer Older
1
2
#!/usr/bin/env sh

3
4
set -e

5
6
APPS="api db logic plankton quotas vmapi im quotaholder_app helpdesk"
TEST="$(which snf-manage) test $APPS --settings=synnefo.settings.test"
7
8
9
10
11
12
13
14

if coverage >/dev/null 2>&1; then
  coverage run $TEST
  coverage report --include=snf-*
else
  echo "coverage not installed"
  $TEST
fi