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 | cdb7f54 | 2014-09-18 12:55:50 -0400 | [diff] [blame] | 10 | testr run --subunit $TESTRARGS | subunit-trace -f -n |
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 | 1d5f32b | 2014-06-04 15:37:58 -0400 | [diff] [blame] | 13 | |
Matthew Treinish | cb56994 | 2013-08-09 16:33:44 -0400 | [diff] [blame] | 14 | exit $retval |