Tries to solve the next issue: https://upstreamfirst.fedorainfracloud.org/gdb/issue/1 https://pagure.io/standard-test-roles/issue/57
Signed-off-by: Andrei Stepanov astepano@redhat.com
You might need to make sure dnf-utils/yum-utils is installed otherwise debuginfo-install won't be available.
rebased onto ec2f01836dc8d3044c89b85f7ee7a1966748ba9a
@bgoncalv updated, and tested - works for me. Could you please test once more?
@astepano it seems to work.
rebased onto d599d815e48f1381f5a2738b6cb927a274007110
@astepano Do you have an example of a test (an open pull request on dist-git would be great) that make use of this functionality so I could test it?
@stefw example of a test that uses this PR.
https://upstreamfirst.fedorainfracloud.org/gdb/
Does this always run even when no pkgs_debuginfo_req is set? This would slow down each test right? Could we skip in that case? Perhaps by adding to the when at the end of this block?
when
Tested and can confirm this fixes the problem.
I think it is ok. This block is for ordinary packages. The block that processes debuginfo packages is at line: 54 If there is no debuginfo packages that it will be skipped.
Installation of yum-utils or dnf-utils still wastes time for every single beakerlib test. Could you move the condition one level up to line 60?
ok.
rebased onto fe76fe35decc321a7db272b0c660e7948e548b67
@stefw I added this line
If pkgs_debuginfo_req is empty of not defined - this block will be skipped
Pull-Request has been merged by astepano
Tries to solve the next issue:
https://upstreamfirst.fedorainfracloud.org/gdb/issue/1
https://pagure.io/standard-test-roles/issue/57
Signed-off-by: Andrei Stepanov astepano@redhat.com