elogtool: add pytest for elogtool

Hardware / Coreboot - Ricardo Quesada [google.com] - 25 October 2021 08:08 UTC

This CL adds a python test for elogtool. It tests the basic functionality of elogtool: list, clear and add. A future CL will include more complex tests.

BUG=b:172210863 TEST=pytest elogtool_test.py

Change-Id: If1241ad070d1c690c84f5ca61c0487ba27c2a287

e1f392ea34 elogtool: add pytest for elogtool
util/cbfstool/tests/README.md | 26 ++++++
util/cbfstool/tests/conftest.py | 12 +++
util/cbfstool/tests/elogtool_test.py | 150 +++++++++++++++++++++++++++++++++++
3 files changed, 188 insertions(+)

Upstream: review.coreboot.org


  • Share