freetype2/tests
Alex Richardson 7bc0f48c27 [tests] Allow arbitrary build directories.
* tests/issue-1063/main.c (main): I am building with a build
directory that is not directly inside the source tree, so the path
`../tests/data/As.I.Lay.Dying.ttf` does not resolve to the test
input file.  This change passes the test data directory as an
environment variable to allow arbitrary build directories.

* tests/meson.build: Updated.
2021-07-16 14:42:51 +02:00
..
issue-1063 [tests] Allow arbitrary build directories. 2021-07-16 14:42:51 +02:00
scripts Formatting and ChangeLog additions for previous commits. 2021-07-16 07:40:56 +02:00
README.md tests/scripts/download-test-fonts.sh rewrite in Python3 2021-07-15 13:21:07 +02:00
meson.build [tests] Allow arbitrary build directories. 2021-07-16 14:42:51 +02:00

README.md

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