build: add a gen-scanner-test target

This adds a command to re-generate the test data. This needs to be
done when either an XML source file or the scanner's output is
changed.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2024-01-15 14:29:10 +01:00
parent 6626d4d98c
commit 0e139cfbc7
3 changed files with 38 additions and 6 deletions

3
tests/data/README.md Normal file
View file

@ -0,0 +1,3 @@
To re-generate the test data, run:
ninja -C build/ gen-scanner-test