#!/bin/bash
#
# A script for running Resolwe tests with Jenkins.
#
# To use this script, add an "Execute shell" "Build" step to your project and
# put in the following:
# ./tests/run_tests.sh
#

pushd $WORKSPACE

rm -rf reports

scl enable python33 'tox -r'

cloc --exclude-dir=.venv,.tox,reports, --by-file --xml --out=reports/cloc.xml .

popd

#!/bin/bash
#
# A script for running Resolwe tests with Jenkins.
#
# To use this script, add an "Execute shell" "Build" step to your project and
# put in the following:
# ./tests/run_tests.sh
#

set -x

pushd $WORKSPACE

rm -rf reports

scl enable python33 'tox -r'

cloc --exclude-dir=.venv,.tox,reports, --by-file --xml --out=reports/cloc.xml .

popd

Enable debugging trace in run_test.sh Bash script.
Enable debugging trace in run_test.sh Bash script.
