[glib/wip/3v1n0/support-can-fail-tests: 1/2] glib, gio/tests: Mark some spawn tests as flaky under windows




commit b3c1c1c696d3bae907cb780fbcce8822db03dfbb
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Oct 20 12:41:03 2022 +0200

    glib,gio/tests: Mark some spawn tests as flaky under windows
    
    It a may fail at times, but it generally works:
    
     See: https://gitlab.gnome.org/GNOME/glib/-/jobs/2346261
     See: https://gitlab.gnome.org/GNOME/glib/-/jobs/2346262

 gio/tests/meson.build  | 4 +++-
 glib/tests/meson.build | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index a2b043a282..e9dcccad0c 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -70,7 +70,9 @@ gio_tests = {
     # FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
     'can_fail' : host_system == 'darwin',
   },
-  'gsubprocess' : {},
+  'gsubprocess' : {
+    'suite': host_system == 'windows' ? ['flaky'] : [],
+  },
   'g-file' : {},
   'g-file-info' : {
     # FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index af6846efd3..61bc8c07ca 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -113,6 +113,7 @@ glib_tests = {
   'sort' : {},
   'spawn-multithreaded' : {
     'can_fail': glib_static_build and host_system == 'windows',
+    'suite': host_system == 'windows' ? ['flaky'] : [],
   },
   'spawn-path-search' : {},
   'spawn-singlethread' : {


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