Skip to content

Decide (and document) whether uefi-test-runner should work outside the QEMU env #553

Closed
@nicholasbishop

Description

@nicholasbishop

Currently the uefi-test-runner kinda sorta runs on real hardware. I just tried it on a recent Thinkpad, and it drew the usual blue/orange colors to the screen, some output flashed by, and it panicked on something related to serial.

The test runner currently has as lot of conditionals around things like "is this protocol supported?" and will often continue gracefully if something is missing. This has the advantage of making the runner more likely to work on real hardware, but it has the major disadvantage of making it easier to miss an unexpected error when running in the usual QEMU setup. And the more minor disadvantage of making the code a little more complicated.

This comes up from time to time in code review (recent example), so it would be good to make a decision one way or the other and document it.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions