summaryrefslogtreecommitdiffstats
path: root/util/cbfstool/tests/README.md
blob: 8ba69744cd01d59605f2d3d8578911c10cbbba7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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
```