Merge ~jocave/plainbox-provider-checkbox:dtb-mismatch-test into plainbox-provider-checkbox:master
Proposed by
Jonathan Cave
Status: | Merged |
---|---|
Approved by: | Jonathan Cave |
Approved revision: | b498e8123e714b43339549a25485bfbabd7ac44f |
Merged at revision: | 32733a488fd63ce97ec1a60b0a2231051b170dd1 |
Proposed branch: | ~jocave/plainbox-provider-checkbox:dtb-mismatch-test |
Merge into: | plainbox-provider-checkbox:master |
Diff against target: |
116 lines (+92/-0) 3 files modified
bin/booted_dtb_tests.py (+72/-0) units/kernel-snap/jobs.pxu (+19/-0) units/kernel-snap/test-plan.pxu (+1/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maciej Kisielewski | Approve | ||
Review via email: mp+407622@code.launchpad.net |
Description of the change
Create a new test to run on UC18 that checks that the DTB files supplied in the kernel snap are correctly extracted to the boot directory and everything is in sync.
I've tested that it correctly fails on current RPi devices running UC18, but I'm unsure whether there are other devices that use u-boot where this might fail.
To post a comment you must log in.
Looks good modulo some nitpicking below.
One cool thing that could be done in this script is to introduce a partially filled print that always does file=sys.stderr, flush=True. (functools.partial goodies)