| 1 | # CBFSTool tests |
| 2 | |
| 3 | To 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 | |
| 13 | Requires `pytest`. To install it do: |
| 14 | |
| 15 | ```shell |
| 16 | $ pip install --user pytest |
| 17 | ``` |
| 18 | |
| 19 | ### Binaries |
| 20 | |
| 21 | Make 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 | ``` |