Merge "Run tools/test-setup.sh for unittests"

This commit is contained in:
Jenkins 2016-11-24 09:46:16 +00:00 committed by Gerrit Code Review
commit 9781f4b2d0
2 changed files with 15 additions and 0 deletions

View File

@ -1029,6 +1029,16 @@
bundle exec rake
# This builder runs tools/test-setup.sh if its exists. This allows
# projects to setup unit tests in a specific way.
- builder:
name: extra-test-setup
builders:
- shell: |
if [ -x tools/test-setup.sh ] ; then
tools/test-setup.sh
fi
- builder:
name: allow-local-ssh-root
builders:

View File

@ -11,6 +11,7 @@
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- extra-test-setup
- revoke-sudo
- coverage:
env: cover
@ -154,6 +155,7 @@
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- extra-test-setup
- revoke-sudo
- python27
- assert-no-extra-files
@ -294,6 +296,7 @@
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- extra-test-setup
- revoke-sudo
- python34
- assert-no-extra-files
@ -347,6 +350,7 @@
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- extra-test-setup
- revoke-sudo
- python35
- assert-no-extra-files
@ -474,6 +478,7 @@
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- extra-test-setup
- revoke-sudo
- run-tox:
envlist: '{envlist}'