#!/bin/sh

set -e

# prepare test env
export PATH=$PATH:/usr/lib/pacemaker
export PYTHONPATH=/usr/share/crmsh
cd /usr/share/crmsh/tests
mkdir /usr/share/crmsh/doc

# run the tests
nosetests3 -w ./unittests -v 2>&1
./cib-tests.sh
./regression.sh
