canonical / canonical/fpgad

tests: the coverage tests are not guaranteed to check firmware loading from custom path

Open
#136 0 comments 0 reactions 1 assignee Claimed by @artiepoole View on GitHub
bug daemon tests
Dominant language
Rust
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In the integration test which run the binary directly (in daemon/tests), the setup copies the `.bit.bin` to `/lib/firmware` which means that when running a test to load the overlay, there is no guarantee that the firmware subsystem is looking in our custom firmware lookup path. We should only copy to `/lib/firmware` before the relevant tests, and we should delete after.

Also to check: that the firmware path is cleared between tests, otherwise we could be loading, e.g., "k26-starter-kits.bit.bin" from anywhere.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.