From 747046784c07d8e5aee181ed0e0b4a04e15467e8 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Thu, 14 Sep 2023 11:51:47 -0500 Subject: user/clang: disable LD_PRELOAD-affected tests. fixes #1054. --- user/clang/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'user') 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 \ -- cgit v1.2.3-70-g09d2