Matthew Treinish | 1ee4398 | 2013-12-06 21:08:31 +0000 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | |||||
3 | set -o pipefail | ||||
Matthew Treinish | 83d2ec4 | 2013-07-30 16:37:32 -0400 | [diff] [blame] | 4 | |
5 | TESTRARGS=$@ | ||||
6 | |||||
7 | if [ ! -d .testrepository ]; then | ||||
8 | testr init | ||||
9 | fi | ||||
Matthew Treinish | 59eb0b2 | 2013-08-07 15:48:21 -0400 | [diff] [blame] | 10 | testr run --subunit $TESTRARGS | subunit2pyunit |
Matthew Treinish | cb56994 | 2013-08-09 16:33:44 -0400 | [diff] [blame] | 11 | retval=$? |
Matthew Treinish | 83d2ec4 | 2013-07-30 16:37:32 -0400 | [diff] [blame] | 12 | testr slowest |
Matthew Treinish | cb56994 | 2013-08-09 16:33:44 -0400 | [diff] [blame] | 13 | exit $retval |