2021-06-15 23:12:57 +02:00
|
|
|
# Unit and regression tests for the FreeType library
|
|
|
|
|
|
|
|
## Quick Start
|
|
|
|
|
|
|
|
### Download test fonts
|
|
|
|
|
2021-07-11 23:33:19 +02:00
|
|
|
Run the `tests/scripts/download-fonts.py` script, which will
|
2021-06-15 23:12:57 +02:00
|
|
|
download test fonts to the `tests/data/` directory first.
|
|
|
|
|
|
|
|
### Build the test programs
|
|
|
|
|
|
|
|
The tests are only built with the Meson build system, and
|
|
|
|
are disabled by default, enable the 'tests' option to compile
|
|
|
|
them, as in:
|
|
|
|
|
|
|
|
meson setup out -Dtests=enabled
|
|
|
|
meson compile -C out
|
|
|
|
|
|
|
|
### Run the test programs
|
|
|
|
|
|
|
|
meson test -C out
|
|
|
|
|