cb56994383
This commit properly returns the return code from the testr run. Change-Id: Ifa0b39786814e5a40d1b97b52df809db65f8c211
12 lines
162 B
Bash
Executable File
12 lines
162 B
Bash
Executable File
#!/bin/sh
|
|
|
|
TESTRARGS=$@
|
|
|
|
if [ ! -d .testrepository ]; then
|
|
testr init
|
|
fi
|
|
testr run --subunit $TESTRARGS | subunit2pyunit
|
|
retval=$?
|
|
testr slowest
|
|
exit $retval
|