]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[bofm] Allow BOFM tests to be run without a BOFM-capable device driver
authorMichael Brown <mcb30@ipxe.org>
Tue, 29 Apr 2025 12:39:12 +0000 (13:39 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 29 Apr 2025 12:39:12 +0000 (13:39 +0100)
commit08007238456b7349a16c67b2cc76a10368734fea
tree04f7a9a2538c4acb6e311c234d2ceea0bf4c34be
parent4e909cc2b043e46dddf69c305cddafbeb13e3a71
[bofm] Allow BOFM tests to be run without a BOFM-capable device driver

The BOFM tests are not part of the standard unit test suite, since
they are designed to allow for exercising real BOFM driver code
outside of the context of a real IBM blade server.

Allow for the BOFM tests to be run without a real BOFM driver, by
providing a dummy driver for the specified PCI test device.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/bofm.h
src/tests/bofm_test.c