[clang] [llvm] Invalidate tests using "touch -a" on Darwin (PR #192521)
Lei Huang via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 16 12:48:49 PDT 2026
https://github.com/lei137 created https://github.com/llvm/llvm-project/pull/192521
Tests uses 'touch -a' which is known to fail on macOS.
>From 72bb19b5b71771e8b59bc4488295ca3e82ac9191 Mon Sep 17 00:00:00 2001
From: Lei Huang <lei at ca.ibm.com>
Date: Thu, 16 Apr 2026 15:30:14 -0400
Subject: [PATCH] Invalidate tests using "touch -a" on Darwin
Tests uses 'touch -a' which is known to fail on macOS.
---
clang/test/ClangScanDeps/prune-scanning-modules.m | 2 +-
llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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