zuul-jobs/roles/fetch-subunit-output
Luigi Toscano ab8f9fc403 fetch-subunit-output: collect additional subunits (2nd try)
In addition to the main subunit file from zuul_work_dir,
collect the subunit files from the elements (directories)
of the zuul_additional_subunit_dirs list.

The default behavior is unchanged.

While the documentation of this role states that zuul_work_dir
contains an absolute path, this is not always true.
So make sure to not make any assumption about zuul_work_dir
in order to not fail spectacularly as it happened with the
previous patch[0].

Add also some tests for the role: both the basic case
and with an additional test directory.

[0] https://review.opendev.org/673885

Change-Id: Iabf2e0cf6d86e36a174778367186bbd39a65c3dd
2019-10-17 00:42:28 +02:00
..
defaults fetch-subunit-output: collect additional subunits (2nd try) 2019-10-17 00:42:28 +02:00
files Look for subunit2html - not an empty variable 2018-02-02 16:30:49 -06:00
tasks fetch-subunit-output: collect additional subunits (2nd try) 2019-10-17 00:42:28 +02:00
README.rst fetch-subunit-output: collect additional subunits (2nd try) 2019-10-17 00:42:28 +02:00

README.rst

Collect subunit outputs

Role Variables

tox environment that was used to run the tests originally.