8f15724dc7
There are several reasons for this change: - removes the need for the custome py3 test dependencies - makes the broken tests more visible because they are listed instead of the working ones - using a blacklist means that new test files are tested by default in py3 bp python3 Change-Id: I7472eec05d80cdd99c0ee376159578e0d7306f51
13 lines
423 B
Bash
Executable File
13 lines
423 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o pipefail
|
|
|
|
TESTRARGS=`python -c 'print ("^((?!%s).)*$" % "|".join(f.strip() for f in open("tests-py3-blacklist.txt")))'`
|
|
python setup.py testr --testr-args="--subunit $TESTRARGS" | subunit-trace -f
|
|
retval=$?
|
|
# NOTE(mtreinish) The pipe above would eat the slowest display from pbr's testr
|
|
# wrapper so just manually print the slowest tests.
|
|
echo -e "\nSlowest Tests:\n"
|
|
testr slowest
|
|
exit $retval
|