tox testing fails if no files match search criteria

Change-Id: I498c7b652e3f8630cc0a0f194054da92c0d5ef53
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2018-08-03 09:38:53 -04:00
parent 59f9764947
commit 0456ddca68
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ commands =
\( -name middleware/io-monitor/recipes-common/io-monitor/io-monitor/io_monitor/test-tools/yaml/* -prune \) \
-o \( -name .tox -prune \) \
-o -type f -name '*.yaml' \
-print0 | xargs -0 yamllint"
bash -c "ls extras/scripts/*.sh | xargs bashate -v {posargs}"
-print0 | xargs -0 --no-run-if-empty yamllint"
bash -c "ls extras/scripts/*.sh | xargs --no-run-if-empty bashate -v {posargs}"
[testenv:pep8]
usedevelop = False