7bc0f48c27
* 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.
15 lines
297 B
Meson
15 lines
297 B
Meson
test_issue_1063 = executable('issue-1063',
|
|
files([ 'issue-1063/main.c' ]),
|
|
dependencies: freetype_dep,
|
|
)
|
|
|
|
test_env = ['FREETYPE_TESTS_DATA_DIR='
|
|
+ join_paths(meson.current_source_dir(), 'data')]
|
|
|
|
test('issue-1063',
|
|
test_issue_1063,
|
|
env: test_env,
|
|
suite: 'regression')
|
|
|
|
# EOF
|