Statistics
| Branch: | Tag: | Revision:

root / ci / tests.sh @ dbb6a975

History | View | Annotate | Download (277 Bytes)

1
#!/usr/bin/env sh
2

    
3
set -e
4

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

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