PKGBUILDs/extra/meson/0001-Skip-broken-tests.patch

44 lines
2 KiB
Diff
Raw Normal View History

2022-04-14 17:46:59 +00:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Thu, 14 Apr 2022 14:08:15 +0000
Subject: [PATCH] Skip broken tests
---
test cases/linuxlike/13 cmake dependency/meson.build | 2 ++
unittests/linuxliketests.py | 2 ++
2 files changed, 4 insertions(+)
diff --git a/test cases/linuxlike/13 cmake dependency/meson.build b/test cases/linuxlike/13 cmake dependency/meson.build
index 193ad184b637..e94ba68ac30f 100644
--- a/test cases/linuxlike/13 cmake dependency/meson.build
+++ b/test cases/linuxlike/13 cmake dependency/meson.build
2022-03-22 18:22:12 +00:00
@@ -6,6 +6,8 @@ if not find_program('cmake', required: false).found()
error('MESON_SKIP_TEST cmake binary not available.')
endif
+error('MESON_SKIP_TEST flaky, see https://github.com/mesonbuild/meson/issues/10104')
+
# Zlib is probably on all dev machines.
dep = dependency('ZLIB', version : '>=1.2', method : 'cmake')
2022-04-14 17:46:59 +00:00
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
index 79db0b8967c2..12082ce61000 100644
--- a/unittests/linuxliketests.py
+++ b/unittests/linuxliketests.py
2021-10-24 19:57:23 +00:00
@@ -343,6 +343,7 @@ class LinuxlikeTests(BasePlatformTests):
raise SkipTest('asan not available on Cygwin')
2019-06-17 23:24:32 +00:00
if is_openbsd():
2021-10-24 19:57:23 +00:00
raise SkipTest('-fsanitize=address is not supported on OpenBSD')
+ raise SkipTest('cannot run sanitizers in containers without ptrace')
2019-06-17 23:24:32 +00:00
testdir = os.path.join(self.framework_test_dir, '7 gnome')
2021-01-06 14:52:10 +00:00
self.init(testdir, extra_args=['-Db_sanitize=address', '-Db_lundef=false'])
2021-12-22 19:02:00 +00:00
@@ -998,6 +999,7 @@ class LinuxlikeTests(BasePlatformTests):
2021-10-24 19:57:23 +00:00
raise SkipTest('asan not available on Cygwin')
if is_openbsd():
raise SkipTest('-fsanitize=address is not supported on OpenBSD')
+ raise SkipTest('cannot run sanitizers in containers without ptrace')
testdir = os.path.join(self.common_test_dir, '13 pch')
self.init(testdir, extra_args=['-Db_sanitize=address', '-Db_lundef=false'])