diff --git a/tools/ostestr_compat_shim.sh b/tools/ostestr_compat_shim.sh deleted file mode 100755 index 36c59a6b..00000000 --- a/tools/ostestr_compat_shim.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# preserve old behavior of using an arg as a regex when '--' is not present -case $@ in - (*--*) stestr run $@;; - ('') stestr run;; - (*) stestr run --regex "$@" -esac diff --git a/tox.ini b/tox.ini index a6bf6b1d..f565edb1 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,7 @@ deps = -r{toxinidir}/requirements.txt whitelist_externals = sh find commands = find . -type f -name "*.py[c|o]" -delete - {toxinidir}/tools/ostestr_compat_shim.sh {posargs} + stestr run {posargs} [testenv:fullstack] basepython = python2.7