jobextra/meson/0001-Skip-broken-tests.patch

57 lines
2.5 KiB
Diff
Raw Normal View History

2022-07-19 21:56:51 +02: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
---
2023-08-08 20:53:25 +02:00
test cases/frameworks/15 llvm/test.json | 1 -
test cases/linuxlike/13 cmake dependency/meson.build | 2 ++
unittests/linuxliketests.py | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)
2022-07-19 21:56:51 +02:00
2023-04-30 04:16:33 +02:00
diff --git a/test cases/frameworks/15 llvm/test.json b/test cases/frameworks/15 llvm/test.json
index cf8aa3acc7bd..3d70077acd02 100644
2023-04-30 04:16:33 +02:00
--- a/test cases/frameworks/15 llvm/test.json
+++ b/test cases/frameworks/15 llvm/test.json
@@ -7,7 +7,6 @@
2023-10-21 03:50:07 +02:00
{ "val": "combination", "skip_on_jobname": ["msys2"] }
2023-04-30 04:16:33 +02:00
],
"link-static": [
- { "val": true, "skip_on_jobname": ["arch", "opensuse", "linux-gentoo-gcc"] },
2023-04-30 04:16:33 +02:00
{ "val": false }
]
}
2023-08-08 20:53:25 +02:00
diff --git a/test cases/linuxlike/13 cmake dependency/meson.build b/test cases/linuxlike/13 cmake dependency/meson.build
2023-10-05 12:34:55 +02:00
index f612e1d52d6d..d0e0d079a069 100644
2023-08-08 20:53:25 +02:00
--- a/test cases/linuxlike/13 cmake dependency/meson.build
+++ b/test cases/linuxlike/13 cmake dependency/meson.build
2023-10-05 12:34:55 +02:00
@@ -7,6 +7,8 @@ if not cmake.found()
2023-08-08 20:53:25 +02:00
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-07-19 21:56:51 +02:00
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
index 4fcf52e09f2c..6e07c450aa0a 100644
2022-07-19 21:56:51 +02:00
--- a/unittests/linuxliketests.py
+++ b/unittests/linuxliketests.py
@@ -360,6 +360,7 @@ class LinuxlikeTests(BasePlatformTests):
2022-07-19 21:56:51 +02: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.framework_test_dir, '7 gnome')
self.init(testdir, extra_args=['-Db_sanitize=address', '-Db_lundef=false'])
@@ -1030,6 +1031,7 @@ class LinuxlikeTests(BasePlatformTests):
2022-07-19 21:56:51 +02: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'])