[clang] [llvm] Invalidate tests using "touch -a" on Darwin (PR #192521)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 16 12:49:25 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-binary-utilities
Author: Lei Huang (lei137)
<details>
<summary>Changes</summary>
Tests uses 'touch -a' which is known to fail on macOS.
---
Full diff: https://github.com/llvm/llvm-project/pull/192521.diff
2 Files Affected:
- (modified) clang/test/ClangScanDeps/prune-scanning-modules.m (+1-1)
- (modified) llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test (+1-1)
``````````diff
diff --git a/clang/test/ClangScanDeps/prune-scanning-modules.m b/clang/test/ClangScanDeps/prune-scanning-modules.m
index 0afcbd1313d65..971694ac34450 100644
--- a/clang/test/ClangScanDeps/prune-scanning-modules.m
+++ b/clang/test/ClangScanDeps/prune-scanning-modules.m
@@ -1,5 +1,5 @@
// NetBSD: noatime mounts currently inhibit 'touch -a' updates
-// UNSUPPORTED: system-netbsd
+// UNSUPPORTED: system-netbsd, system-darwin
// Test the automatic pruning of module cache entries.
diff --git a/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test b/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
index c08580f32ecfd..f8942a8d81e2b 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
@@ -3,7 +3,7 @@
# Windows: the last access time is disabled by default in the OS
# This test is also known to fail on Mac (and possibly elsewhere) when Crowdstrike is installed;
# please make use of the LIT_XFAIL environment variable on such machines.
-# UNSUPPORTED: system-netbsd, system-windows
+# UNSUPPORTED: system-netbsd, system-windows, system-darwin
# Preserve dates when stripping to an output file.
# RUN: yaml2obj %s -o %t.1.o
``````````
</details>
https://github.com/llvm/llvm-project/pull/192521
More information about the cfe-commits
mailing list