freetype/tests/README.md
David Turner 5ec7f58831 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.
2021-07-15 13:21:07 +02:00

484 B

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