Merge lp:~roadmr/checkbox/graphics_card_resource into lp:checkbox
Status: | Merged |
---|---|
Approved by: | Zygmunt Krynicki |
Approved revision: | 2908 |
Merged at revision: | 2906 |
Proposed branch: | lp:~roadmr/checkbox/graphics_card_resource |
Merge into: | lp:checkbox |
Diff against target: |
150 lines (+61/-28) 5 files modified
plainbox-provider-certification-client/provider_whitelists/client-cert.whitelist (+1/-0) plainbox-provider-certification-client/provider_whitelists/client-selftest.whitelist (+1/-0) providers/plainbox-provider-checkbox/jobs/graphics.txt.in (+45/-28) providers/plainbox-provider-resource-generic/bin/graphics_card_resource (+6/-0) providers/plainbox-provider-resource-generic/jobs/resource.txt (+8/-0) |
To merge this branch: | bzr merge lp:~roadmr/checkbox/graphics_card_resource |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Approve | ||
Review via email: mp+214834@code.launchpad.net |
Commit message
Adds a graphics_
Description of the change
Adds a graphics_
Generated job names look like:
graphics/
Jobs generated have the card index at the beginning, so for a given card you can add this to the whitelist to ensure all its tests run first:
graphics/1_.*
Or if you want all cards to test resolution, something like this works:
graphics/
Using the first syntax, we can ensure that per-card tests are clustered together, so that they can be run for card 1, then enabling card 2 and testing that:
graphics/1_.*
graphics/2_.*
I converted a few sample jobs to illustrate this mechanism and hopefully get the underlying code merged, but we'll probably need another MR to convert all the jobs we actually want to run per-card to this format, as well as updating the whitelists.
Looks good to me, +1