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 |
Sean Dague | 50af5d5 | 2014-05-02 14:48:44 -0400 | [diff] [blame^] | 10 | testr run --subunit $TESTRARGS | $(dirname $0)/subunit-trace.py |
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 |