Statistics
| Branch: | Tag: | Revision:

root / ci / tests.sh @ 95059648

History | View | Annotate | Download (270 Bytes)

1
#!/usr/bin/env sh
2

    
3
set -e
4

    
5
TEST="$(which snf-manage) test api db logic plankton 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