From 92dc7dce4a6f117a497ced1650bc48e5b658f0ea Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Fri, 7 Dec 2018 16:21:08 +0000 Subject: [PATCH] [test] Mark atime-based tests unsupported on NetBSD Mark tests requiring 'touch' to set atime unsupported on NetBSD due to kernel limitation preventing it from working with noatime. llvm-svn: 348607 --- lld/test/COFF/lto-cache.ll | 2 ++ lld/test/ELF/lto/cache.ll | 2 ++ lld/test/wasm/lto/cache.ll | 2 ++ 3 files changed, 6 insertions(+) diff --git a/lld/test/COFF/lto-cache.ll b/lld/test/COFF/lto-cache.ll index ad1a3b7..828f5e5 100644 --- a/lld/test/COFF/lto-cache.ll +++ b/lld/test/COFF/lto-cache.ll @@ -1,4 +1,6 @@ ; REQUIRES: x86 +; NetBSD: noatime mounts currently inhibit 'touch' from updating atime +; UNSUPPORTED: system-netbsd ; RUN: opt -module-hash -module-summary %s -o %t.o ; RUN: opt -module-hash -module-summary %p/Inputs/lto-cache.ll -o %t2.o diff --git a/lld/test/ELF/lto/cache.ll b/lld/test/ELF/lto/cache.ll index 4178a25..fe12398 100644 --- a/lld/test/ELF/lto/cache.ll +++ b/lld/test/ELF/lto/cache.ll @@ -1,4 +1,6 @@ ; REQUIRES: x86 +; NetBSD: noatime mounts currently inhibit 'touch' from updating atime +; UNSUPPORTED: system-netbsd ; RUN: opt -module-hash -module-summary %s -o %t.o ; RUN: opt -module-hash -module-summary %p/Inputs/cache.ll -o %t2.o diff --git a/lld/test/wasm/lto/cache.ll b/lld/test/wasm/lto/cache.ll index c995047..6d52b97 100644 --- a/lld/test/wasm/lto/cache.ll +++ b/lld/test/wasm/lto/cache.ll @@ -1,5 +1,7 @@ ; RUN: opt -module-hash -module-summary %s -o %t.o ; RUN: opt -module-hash -module-summary %p/Inputs/cache.ll -o %t2.o +; NetBSD: noatime mounts currently inhibit 'touch' from updating atime +; UNSUPPORTED: system-netbsd ; RUN: rm -Rf %t.cache && mkdir %t.cache ; Create two files that would be removed by cache pruning due to age. -- 2.7.4