On 12/26/23 10:47, Simon Glass wrote:
Hi Heinrich,
On Sat, Dec 23, 2023 at 12:49 AM Heinrich Schuchardt <xypron.g...@gmx.de> wrote:
Provide a unit test for the smbios command.
Provide different test functions for QEMU, sandbox, and other systems.
Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
---
test/py/tests/test_smbios.py | 47 ++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 test/py/tests/test_smbios.py
Can you please write this test in C?
Regards,
Simon
According to our documentation we can use either Python or C tests.
We generally use Python tests for testing the CLI.
I cannot see any benefit in trying to write this in C.
Best regards
Heinrich