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




commit f1370266651a351c82c69112c9f14de9cf18d08d
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 987f6b91eb..84d7f00641 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=flaky_tests --suite flaky || true
 
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index 24dca657f3..a92684b837 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]