[clang] 981da65 - Invalidate tests using "touch -a" on Darwin (#192521)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 16 12:50:00 PDT 2026


Author: Lei Huang
Date: 2026-04-16T15:49:55-04:00
New Revision: 981da65faca247557efa37f8bc55b6dc36e9b8bd

URL: https://github.com/llvm/llvm-project/commit/981da65faca247557efa37f8bc55b6dc36e9b8bd
DIFF: https://github.com/llvm/llvm-project/commit/981da65faca247557efa37f8bc55b6dc36e9b8bd.diff

LOG: Invalidate tests using "touch -a" on Darwin (#192521)

Tests uses 'touch -a' which is known to fail on macOS.

Added: 
    

Modified: 
    clang/test/ClangScanDeps/prune-scanning-modules.m
    llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test

Removed: 
    


################################################################################
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


        


More information about the cfe-commits mailing list