Hash :
5ec7f588
Author :
Date :
2021-07-11T23:33:19
tests/scripts/download-test-fonts.sh rewrite in Python3 Replaces download-test-fonts.sh with download-test-fonts.py which does the same work, and also avoids downloading anything if the files are already installed with the right content. Now uses the first 8 byte of each file's sha256 hash for the digest.
Run the tests/scripts/download-fonts.py
script, which will
download test fonts to the tests/data/
directory first.
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
meson test -C out
# Unit and regression tests for the FreeType library
## Quick Start
### Download test fonts
Run the `tests/scripts/download-fonts.py` script, which will
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