[glib/wip/3v1n0/support-can-fail-tests: 2/7] ci: Mark failing cygwin tests as can-fail and do not ignore test failures




commit 412e72b4e28519fa17041dd7e5647c6f1e67453a
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Wed Oct 19 21:34:48 2022 +0200

    ci: Mark failing cygwin tests as can-fail and do not ignore test failures

 .gitlab-ci/test-msys2.sh | 3 +--
 glib/tests/meson.build   | 4 +++-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh
index 43708636a5..5f9dcbd918 100755
--- a/.gitlab-ci/test-msys2.sh
+++ b/.gitlab-ci/test-msys2.sh
@@ -50,8 +50,7 @@ lcov \
     --initial \
     --output-file "${DIR}/_coverage/${CI_JOB_NAME}-baseline.lcov"
 
-# FIXME: fix the test suite
-meson test --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" || true
+meson test --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}"
 meson test --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
     --setup=unstable_tests --suite=failing --suite=flaky || true
 
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index ac514d23e7..1251315e47 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -118,7 +118,9 @@ glib_tests = {
   'spawn-singlethread' : {
     'dependencies' : [winsock2],
   },
-  'spawn-test' : {},
+  'spawn-test' : {
+    'can_fail': host_system == 'cygwin',
+  },
   'strfuncs' : {},
   'string' : {},
   'strvbuilder' : {},


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