We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I1efdf4f86f5a9bd02fa99b0c1fb430cf621bb7e3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Create new functional tox environment so that we can use it instead of
func environment to allow creation of cross-project
openstack-tox-functional job.
Depends-On: Ibebf9d0eeccabaefa2777a43592a72d19d064b6b
Needed-By: Ifa4c20cff72820a0016bef8dcdd36647ae7359d3
Change-Id: Ied08d83177b9d52b6eb8e4987f444230ac4ebfdb
In bash the only sensible way of returning a string from functions
or scripts is via stdout.
dib-run-parts not only 'returned' the output of the called scripts but
also some statistics / performance output.
Other parts of the script already used an 'output' function so
the statistics output was adapted to also use this kind of function.
In addition three simple test cases are implemented to check
the basic functions of the script.
As a result the log-output of the dib-run-parts is somewhat cleaner.
It also makes debugging of the called scripts easier.
This change is the precondition for simplification of functions like
diskimage-builder's eval_run_d.
Change-Id: Ie2f0332359a72ca7ab03f94b7573e073df714a97
Signed-off-by: Andreas Florath <andreas@florath.net>
This is required to be able to build and release the project using
the standard infra tools. Since there currently aren't any unit
test or doc jobs defined for this project, only a very basic
tox.ini is being added. It can be filled out later as more jobs
are needed.
Change-Id: I121405d4ec82a4d8252098319fce0a9f5b5bfb4f