Commit 916c3f3d authored by Sigmund Augdal's avatar Sigmund Augdal

Added script to run tests from jenkins

parent 396db0ec
#! /bin/bash
set -e
set -o pipefail
pip install pylint
pip install coverage
git clone
cd scvmm_client_py
python install
cd ..
rm -rf scvmm_client_py
python develop
pylint --rcfile .pylintrc -f parseable nova_router *.py >pylint.out|| result=$?
echo "pylint returned $result"
coverage run --branch --omit='/data/jenkins/shiningpanda/*' -m py.test --junitxml=testresults.xml
coverage xml --omit '.data*'
exit $(($result&35))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment