mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
57 lines
2.8 KiB
Diff
57 lines
2.8 KiB
Diff
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/allplatformstests.py | 2 +-
|
|
unittests/linuxliketests.py | 2 ++
|
|
3 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
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
|
|
@@ -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')
|
|
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
|
|
index 1ecbf18e3477..c567bb794138 100644
|
|
--- a/unittests/allplatformstests.py
|
|
+++ b/unittests/allplatformstests.py
|
|
@@ -4352,7 +4352,7 @@ class AllPlatformTests(BasePlatformTests):
|
|
self.init(testdir, extra_args=['--werror'], override_envvars={'RUSTC': 'clippy-driver'})
|
|
with self.assertRaises(subprocess.CalledProcessError) as cm:
|
|
self.build()
|
|
- self.assertIn('error: use of a blacklisted/placeholder name `foo`', cm.exception.stdout)
|
|
+ self.assertIn('error: use of a disallowed/placeholder name `foo`', cm.exception.stdout)
|
|
|
|
@skip_if_not_language('rust')
|
|
def test_rust_rlib_linkage(self) -> None:
|
|
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
|
|
index 8dd9cfc4e1f3..47bd4be1477d 100644
|
|
--- a/unittests/linuxliketests.py
|
|
+++ b/unittests/linuxliketests.py
|
|
@@ -359,6 +359,7 @@ class LinuxlikeTests(BasePlatformTests):
|
|
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'])
|
|
@@ -1014,6 +1015,7 @@ class LinuxlikeTests(BasePlatformTests):
|
|
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'])
|