diff options
author | Simon McVittie <smcv@debian.org> | 2022-08-12 15:48:24 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2024-01-18 00:34:38 +0000 |
commit | 0332660e28d18beaccb8bfd5c9f8ac8f1b65b2b5 (patch) | |
tree | 129ef53260a8764d4419ddf31ee4183a713adc18 /tests | |
parent | de469a0028b2d5b44827072698ea1198861531ae (diff) |
Work around #1014417 in Meson
Forwarded: not-needed, Meson should be fixed instead
Gbp-Pq: Topic debian
Gbp-Pq: Name Work-around-1014417-in-Meson.patch
Diffstat (limited to 'tests')
-rw-r--r-- | tests/meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build index 6c1c461b..09b7c8ac 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -2,6 +2,13 @@ test_cflags = [ '-DSRCDIR=@0@'.format(meson.current_source_dir()), ] +if meson.version() == '0.63.0' + # Work around https://github.com/mesonbuild/meson/issues/10577 + tap_test_protocol = 'exitcode' +else + tap_test_protocol = 'tap' +endif + if xft_dep.found() test_cflags += [ '-DHAVE_X', '-DHAVE_XFT' ] endif @@ -307,6 +314,6 @@ foreach t: tests args: ['-k', '--tap'], env: test_env, suite: 'pango', - protocol: 'tap', + protocol: tap_test_protocol, ) endforeach |