27 lines
376 B
Markdown
27 lines
376 B
Markdown
# CBFSTool tests
|
|
|
|
To run the tests do `pytest name_of_the_file.py`. E.g:
|
|
|
|
```shell
|
|
$ pytest elogtool_test.py
|
|
```
|
|
|
|
## Dependencies
|
|
|
|
### Pytest
|
|
|
|
Requires `pytest`. To install it do:
|
|
|
|
```shell
|
|
$ pip install --user pytest
|
|
```
|
|
|
|
### Binaries
|
|
|
|
Make sure that you have compiled the cbfstool binaries before running the test. e.g:
|
|
|
|
```shell
|
|
$ cd $COREBOOT_SRC/util/cbfstool
|
|
$ make
|
|
```
|