blob: fb4e6d53b2d5b4e5e38bdc7e1afb43d794b1eebf [file] [log] [blame]
Matthew Treinish1ee43982013-12-06 21:08:31 +00001#!/usr/bin/env bash
2
3set -o pipefail
Matthew Treinish85512782013-07-18 15:53:30 -04004
5TESTRARGS=$1
Matthew Treinish16b68262014-12-05 19:06:31 -05006python setup.py testr --testr-args="--subunit $TESTRARGS" | subunit-trace --no-failure-debug -f
7retval=$?
8# NOTE(mtreinish) The pipe above would eat the slowest display from pbr's testr
9# wrapper so just manually print the slowest tests.
10echo -e "\nSlowest Tests:\n"
11testr slowest
12exit $retval