Merge ppa-dev-tools:support-subtest-status-flaky into ppa-dev-tools:main
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | ppa-dev-tools:support-subtest-status-flaky | ||||
Merge into: | ppa-dev-tools:main | ||||
Diff against target: |
115 lines (+21/-11) 4 files modified
ppa/result.py (+1/-1) ppa/subtest.py (+2/-0) tests/test_result.py (+9/-3) tests/test_subtest.py (+9/-7) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+465631@code.launchpad.net |
Description of the change
autopkgtest subtests can be given the restriction 'flaky'[1][2], which results in the subtest being given the status 'FLAKY' in the test log[3]. This is not common and fairly unexciting, but it does show up in the wild[4].
1: https:/
2: https:/
3: https:/
4: https:/
I display the subtests with colored squares from the unicode characters, and unfortunately there are only a handful of colors available. I considered purple, but brown felt like a better conceptual fit, and purple seemed like it could be useful for some other situation.
LGTM. I am not sure how the contrast between this brown and the yellow/red colors we already use will be seen by users though, but I have no better suggestions here!