9d8e765881
This allows jobs which inherit from unittests to specify that the test-setup script should not be run. Some "unit test" jobs are simple enough that they do not need to perform costly setup for a full test run. Change-Id: I5826bed411c42f9b3e0477b351bd82bd964d2fac
924 B
924 B
Perform project test setup tasks.
This role assumes that Zuul has checked out a change for a project at
{{ zuul_work_dir }}
and looks for a file named
tools/test-setup.sh
. If that file exists and is executable,
it will be run.
This allows projects to specify test-setup steps (such as creating or initializing a database) in a form that can be easily run by both an automated testing system and developers.
Role Variables
Environment variables to pass in to the test-setup script.
String of optional command line options passed to the test-setup script.