To run the tests do pytest name_of_the_file.py
. E.g:
$ pytest elogtool_test.py
Requires pytest
. To install it do:
$ pip install --user pytest
Make sure that you have compiled the cbfstool binaries before running the test. e.g:
$ cd $COREBOOT_SRC/util/cbfstool $ make