readme: update test suite instructions

Since eed3e1e0f8 ("test: remove edid-decode as a test
dependency"), edid-decode is no longer required to run the test
suite. It's only required to re-generate the test data.

Expand a bit on how to setup edid-decode to re-generate the test
data.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2023-03-02 19:43:44 +01:00
parent 83ae3f5515
commit 147d6611a6

View file

@ -53,11 +53,9 @@ The low-level EDID library is tested against [edid-decode]. `test/data/`
contains a small collection of EDID blobs and diffs between upstream contains a small collection of EDID blobs and diffs between upstream
`edid-decode` and our `di-edid-decode` clone. Our CI ensures the diffs are `edid-decode` and our `di-edid-decode` clone. Our CI ensures the diffs are
up-to-date. A patch should never make the diffs grow larger. To re-generate the up-to-date. A patch should never make the diffs grow larger. To re-generate the
test data, run `ninja -C build/ gen-test-data`. test data, build `edid-decode` at the Git revision mentioned in
`.gitlab-ci.yml`, put the executable in `PATH`, and run
To run the test suite locally, you need to use [edid-decode] of the git `ninja -C build/ gen-test-data`.
revision mentioned in `.gitlab-ci.yml`. Otherwise you may experience false
failures.
The latest code coverage report is available on [GitLab CI][coverage]. The latest code coverage report is available on [GitLab CI][coverage].