Matthew Treinish | 1ee4398 | 2013-12-06 21:08:31 +0000 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | |
Matthew Treinish | 68c7871 | 2016-07-28 14:47:27 -0400 | [diff] [blame] | 3 | echo "WARNING: This script is deprecated and will be removed in the near future. Please migrate to tempest run or another method of launching a test runner" |
| 4 | |
Matthew Treinish | 1ee4398 | 2013-12-06 21:08:31 +0000 | [diff] [blame] | 5 | set -o pipefail |
Matthew Treinish | 83d2ec4 | 2013-07-30 16:37:32 -0400 | [diff] [blame] | 6 | |
| 7 | TESTRARGS=$@ |
| 8 | |
| 9 | if [ ! -d .testrepository ]; then |
| 10 | testr init |
| 11 | fi |
Matthew Treinish | cdb7f54 | 2014-09-18 12:55:50 -0400 | [diff] [blame] | 12 | testr run --subunit $TESTRARGS | subunit-trace -f -n |
Matthew Treinish | cb56994 | 2013-08-09 16:33:44 -0400 | [diff] [blame] | 13 | retval=$? |
Matthew Treinish | 83d2ec4 | 2013-07-30 16:37:32 -0400 | [diff] [blame] | 14 | testr slowest |
Matthew Treinish | 1d5f32b | 2014-06-04 15:37:58 -0400 | [diff] [blame] | 15 | |
Matthew Treinish | cb56994 | 2013-08-09 16:33:44 -0400 | [diff] [blame] | 16 | exit $retval |