summaryrefslogtreecommitdiff
path: root/user/clang
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-09-14 11:51:47 -0500
committerZach van Rijn <me@zv.io>2023-09-14 11:54:00 -0500
commit747046784c07d8e5aee181ed0e0b4a04e15467e8 (patch)
tree189ad8a21617837609ae04005e1f0616a66e226a /user/clang
parentae66a71bbdedd71874e84c2ba5d5650cfec3b8b4 (diff)
downloadpackages-747046784c07d8e5aee181ed0e0b4a04e15467e8.tar.gz
packages-747046784c07d8e5aee181ed0e0b4a04e15467e8.tar.bz2
packages-747046784c07d8e5aee181ed0e0b4a04e15467e8.tar.xz
packages-747046784c07d8e5aee181ed0e0b4a04e15467e8.zip
user/clang: disable LD_PRELOAD-affected tests. fixes #1054.
Diffstat (limited to 'user/clang')
-rw-r--r--user/clang/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/clang/APKBUILD b/user/clang/APKBUILD
index af8550375..d829f0032 100644
--- a/user/clang/APKBUILD
+++ b/user/clang/APKBUILD
@@ -27,6 +27,44 @@ source="https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/$
"
builddir="$srcdir/$pkgname-$pkgver.src"
+prepare() {
+ default_prepare
+
+ #1054
+ rm -fr \
+ test/Coverage/html-diagnostics.c \
+ test/Coverage/html-multifile-diagnostics.c \
+ test/Modules/crash-vfs-path-emptydir-entries.m \
+ test/Modules/crash-vfs-path-symlink-component.m \
+ test/Modules/crash-vfs-path-symlink-topheader.m \
+ test/Modules/crash-vfs-path-traversal.m \
+ test/Modules/crash-vfs-relative-overlay.m \
+ test/Modules/crash-vfs-umbrella-frameworks.m \
+ test/Modules/load-module-with-errors.m \
+ test/Modules/modules-with-same-name.m \
+ test/Modules/prebuilt-implicit-modules.m \
+ test/Modules/prune.m \
+ test/Modules/signal.m \
+ test/VFS/module-header-mismatches.m \
+ test/VFS/module_missing_vfs.m \
+ test/utils/update_cc_test_checks/basic-cplusplus.test \
+ test/utils/update_cc_test_checks/check-globals.test \
+ test/utils/update_cc_test_checks/check_attrs.test \
+ test/utils/update_cc_test_checks/def-and-decl.test \
+ test/utils/update_cc_test_checks/exec-all-runlines.test \
+ test/utils/update_cc_test_checks/explicit-template-instantiation.test \
+ test/utils/update_cc_test_checks/generated-funcs-regex.test \
+ test/utils/update_cc_test_checks/generated-funcs.test \
+ test/utils/update_cc_test_checks/global-hex-value-regex.test \
+ test/utils/update_cc_test_checks/global-value-regex.test \
+ test/utils/update_cc_test_checks/mangled_names.test \
+ test/utils/update_cc_test_checks/on_the_fly_arg_change.test \
+ test/utils/update_cc_test_checks/prefix-never-matches.test \
+ test/utils/update_cc_test_checks/replace-value-regex-across-runs.test \
+ test/utils/update_cc_test_checks/resolve-tmp-conflict.test \
+ ;
+}
+
build() {
CMAKE_PREFIX_PATH=/usr/lib/llvm$_llvmver/lib/cmake \
cmake -Wno-dev \