ec34ed056f
This patch set adds a shell wrapper script to allow tox to be used to run a subset of unit tests via regexes: To run all unit tests, execute:: $ tox -epy35 To run unit tests using a regex, execute:: $ tox -epy35 -- <regex> Change-Id: I2ba1e18226d686cb549a075e020ba02e24204829
11 lines
122 B
Bash
Executable File
11 lines
122 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
posargs=$@
|
|
if [ ${#posargs} -ge 1 ]; then
|
|
pytest -k ${posargs}
|
|
else
|
|
pytest
|
|
fi
|
|
set +e
|