]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
test: Don't use strict TAP parsing on Windows
authorSimon McVittie <smcv@collabora.com>
Mon, 12 Sep 2022 18:36:16 +0000 (19:36 +0100)
committerSimon McVittie <smcv@collabora.com>
Mon, 12 Sep 2022 18:36:16 +0000 (19:36 +0100)
Debug messages in a background thread can corrupt the machine-readable
TAP output, and in particular GWin32AppInfo emits debug messages from
a background thread when we link to libgio.

Resolves: https://gitlab.freedesktop.org/dbus/dbus/-/issues/414
Signed-off-by: Simon McVittie <smcv@collabora.com>
test/meson.build

index 0c9f0afba2da695ef4a97dfc2371889d9d2fc330..6de67035b69392fe329521d57d5c87289532ab81 100644 (file)
@@ -104,6 +104,9 @@ installed_tests = []
 if meson.version().version_compare('>=0.63') and meson.version().version_compare('<0.63.1')
     # Work around https://github.com/mesonbuild/meson/issues/10577
     test_protocol = 'exitcode'
+elif platform_windows
+    # Work around https://gitlab.gnome.org/GNOME/glib/-/issues/2746
+    test_protocol = 'exitcode'
 else
     test_protocol = 'tap'
 endif