Whitelist commands in tox.ini

Fix these warnings when invoking "tox -e jjb":
WARNING:test command found but not installed in testenv
  cmd: /usr/bin/rm
  env:
/home/aj/Software/vcs/OpenStack/openstack-infra/project-config/.tox/jjb
Maybe forgot to specify a dependency?
jjb runtests: commands[1] | mkdir -p
/home/aj/Software/vcs/OpenStack/openstack-infra/project-config/.tox/jjb/tmp
WARNING:test command found but not installed in testenv
  cmd: /usr/bin/mkdir
  env:
/home/aj/Software/vcs/OpenStack/openstack-infra/project-config/.tox/jjb
Maybe forgot to specify a dependency?

Change-Id: If1b56882d3b608450d2ab5fbf0af5cbe920471e8
This commit is contained in:
Andreas Jaeger 2014-09-29 20:00:46 +02:00
parent 2bb19f20ca
commit e382bae170

View File

@ -35,6 +35,9 @@ select = H231
[testenv:jjb]
basepython = python2.7
deps = jenkins-job-builder
whitelist_externals =
mkdir
rm
commands =
rm -rf {envdir}/tmp
mkdir -p {envdir}/tmp