xref: /aosp_15_r20/external/coreboot/util/cbfstool/tests/README.md (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1# CBFSTool tests
2
3To run the tests do `pytest name_of_the_file.py`. E.g:
4
5```shell
6$ pytest elogtool_test.py
7```
8
9## Dependencies
10
11### Pytest
12
13Requires `pytest`. To install it do:
14
15```shell
16$ pip install --user pytest
17```
18
19### Binaries
20
21Make sure that you have compiled the cbfstool binaries before running the test. e.g:
22
23```shell
24$ cd $COREBOOT_SRC/util/cbfstool
25$ make
26```
27