diff --git a/tools/pretty_tox3.sh b/tools/pretty_tox3.sh new file mode 100755 index 000000000000..396968111c65 --- /dev/null +++ b/tools/pretty_tox3.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +TESTRARGS=$1 + +if [ -z "$TESTRARGS" ]; then + ostestr --blacklist_file tests-py3.txt +else + ostestr -r "$TESTRARGS" +fi diff --git a/tox.ini b/tox.ini index 5904a63beb22..905bc258d8c2 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,7 @@ commands = setenv = {[testenv]setenv} commands = find . -type f -name "*.pyc" -delete - ostestr --blacklist_file tests-py3.txt + bash tools/pretty_tox3.sh '{posargs}' [testenv:functional] usedevelop = True