[gdk-pixbuf/ebassi/no-tap] Disable TAP for tests




commit cec34e920211587dec82b531a61497d2b967b75d
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Apr 6 12:42:17 2021 +0100

    Disable TAP for tests
    
    Sadly, GTest intercepts debugging messages and prints them as they are;
    this means that multi-line messages will inevitably break the TAP
    protocol.
    
    GLib 2.68 has started printing out a long g_debug() message on Windows,
    which ends up failing the whole test suite on the MSYS2 CI jobs.

 tests/meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 53ae0fb38..7c6cb113a 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -163,7 +163,7 @@ if get_option('installed_tests')
 endif
 
 test_deps = gdk_pixbuf_deps + [ gdkpixbuf_dep, ]
-test_args = [ '-k', '--tap' ]
+test_args = [ '-k' ]
 test_env = environment()
 test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
 test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
@@ -213,7 +213,6 @@ foreach test_name, test_data: installed_tests
     args: test_args,
     env: test_env,
     timeout: timeout,
-    protocol: 'tap',
   )
 endforeach
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]