fdf79c9636
Add python code coverage reporting to the functional test runs. Change-Id: Icccfd3029f369bf52fc148f3838357acabfa1d1c
11 lines
224 B
Bash
11 lines
224 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -o pipefail
|
|
|
|
TESTRARGS=$1
|
|
python setup.py testr --coverage --testr-args="--subunit $TESTRARGS" | subunit-trace --no-failure-debug -f
|
|
retval=$?
|
|
echo -e "\nSlowest Tests:\n"
|
|
testr slowest
|
|
exit $retval
|