[glib/wip/3v1n0/support-can-fail-tests: 1/8] ci: Mark failing mingw tests as can-fail and do not ignore test failures




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

    ci: Mark failing mingw 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..8acf299c7e 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 == 'windows' and cc.get_id() == 'gcc',
+  },
   'strfuncs' : {},
   'string' : {},
   'strvbuilder' : {},


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