mirror of
git://git.sv.nongnu.org/freetype/freetype2.git
synced 2026-01-19 04:52:09 +00:00
[meson] Add first regression test to FreeType
* tests/README.md: documentation explaining how to build and run the tests with the Meson build. * tests/scripts/download-test-fonts.sh: Simple script to download test font files to the 'tests/data/' folder. * meson.build, meson_options.txt, tests/meson.build: Add 'tests' option to enable building and running the test programs, disabled by default. * tests/issue-1063/main.c: Simple regression test to exhibit issue 1063. * .gitignore: Ignore the content of the tests/data/ folder for now.
This commit is contained in:
@@ -369,6 +369,9 @@ pkgconfig.generate(ft2_lib,
|
||||
version: ft2_pkgconfig_version,
|
||||
)
|
||||
|
||||
if get_option('tests').enabled()
|
||||
subdir('tests')
|
||||
endif
|
||||
|
||||
# NOTE: Unlike the old `make refdoc` command, this generates the
|
||||
# documentation under `$BUILD/docs/` since Meson doesn't support modifying
|
||||
|
||||
Reference in New Issue
Block a user