This patch adds optional resolving of test dependencies, including beakerlib libraries from beakerlib tests' Makefile. Note that the resolving of dependencies is required for beakerlib libraries (because they are packages without dependencies). To activate this feature pass to the role this variable:
use_beakerlib_libraries: yes
By default this feature is disabled (we might enable it after testing).
The solution uses the resolve-test-dependencies script to download and print the RhtsRequires and Requires (fields from the Makefile). The libraries are looked up by default in /usr/share/beakerlib-libraries. The RhtsRequires (these are must have deps) are installed and the role will fail if they cannot be installed. The Requires deps are installed with (--skip-broken) as these do not have to be all installable (this is how it works in downstream's runners - i.e. restraint, beah).
Note that to test this feature now, you can use the nfs-utils tests, but make sure that you use the code from this PR:
This patch adds optional resolving of test dependencies, including beakerlib libraries from beakerlib tests' Makefile. Note that the resolving of dependencies is required for beakerlib libraries (because they are packages without dependencies). To activate this feature pass to the role this variable:
use_beakerlib_libraries: yes
By default this feature is disabled (we might enable it after testing).
The solution uses the resolve-test-dependencies script to download and print the RhtsRequires and Requires (fields from the Makefile). The libraries are looked up by default in /usr/share/beakerlib-libraries. The RhtsRequires (these are must have deps) are installed and the role will fail if they cannot be installed. The Requires deps are installed with (--skip-broken) as these do not have to be all installable (this is how it works in downstream's runners - i.e. restraint, beah).
Note that to test this feature now, you can use the nfs-utils tests, but make sure that you use the code from this PR:
https://upstreamfirst.fedorainfracloud.org/nfs-utils/pull-request/3