PKGBUILDs/extra/meson/0001-Skip-broken-tests.patch
2023-07-17 01:33:00 +00:00

42 lines
1.9 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/frameworks/15 llvm/test.json | 1 -
unittests/linuxliketests.py | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/test cases/frameworks/15 llvm/test.json b/test cases/frameworks/15 llvm/test.json
index 66ecd43552f6..1519155e3405 100644
--- a/test cases/frameworks/15 llvm/test.json
+++ b/test cases/frameworks/15 llvm/test.json
@@ -7,7 +7,6 @@
{ "val": "combination", "skip_on_jobname": ["msys2-gcc"]}
],
"link-static": [
- { "val": true, "skip_on_jobname": ["opensuse"] },
{ "val": false }
]
}
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
index 373887401f0d..12741c557fbc 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'])