Repository navigation
selftests: apple-dcp: stub cd321x_replug_kept_attach() in the tipd_init() harness - #3672
Conversation
…it() harness #3587 made tipd_init() call cd321x_replug_kept_attach(). The probe-transaction-rollback case extracts tipd_init() from tipd/core.c but has no stub for the new call, so it fails to build and the apple-dcp host test is red on main since 94104a6. Stub it like the neighbouring tipd_port_list_add(). Signed-off-by: Ryan Murray <[email protected]>
There was a problem hiding this comment.
Verdict: MERGE at 6c910c24 once the hosted check passes.
Checked: The one-line stub matches the new call in the extracted probe and restores compilation of the rollback fixture. It leaves the fixture’s failure injection and rollback assertions intact. The reported base/previous/fixed run isolates the compilation regression. This patch touches only the host harness.
|
code-owner ping <@422957901716652033> / @DjDeveloperr: merge train at |
|
@DjDeveloperr code-owner notice: this is a one-line test-only stub that turns main's apple-dcp host test green again after my #3587 merge. The review app approved it. I'll merge it as soon as its host-tests pass, under the 6-point rule, no earlier than 1 h from now. Say hold if you object. |
|
Merging at |
Fixes main's red apple-dcp host test. #3587 (merged as 94104a6) made
tipd_init()callcd321x_replug_kept_attach(). Theprobe-transaction-rollbackcase intransaction.pyextractstipd_init()but had no stub for the new call, so the unit stopped building. This adds the stub, next to the existingtipd_port_list_add()one.Tested: no runtime change.
python3 tools/asahi/run-host-tests.py --only apple-dcppasses 1/1 with this commit; it fails on main 94104a6 and passes on c0acc22 (before #3587).Risk: two-way · none; test harness only.