[lld] r348607 - [test] Mark atime-based tests unsupported on NetBSD

Michal Gorny via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 7 08:21:08 PST 2018


Author: mgorny
Date: Fri Dec  7 08:21:08 2018
New Revision: 348607

URL: http://llvm.org/viewvc/llvm-project?rev=348607&view=rev
Log:
[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.

Modified:
    lld/trunk/test/COFF/lto-cache.ll
    lld/trunk/test/ELF/lto/cache.ll
    lld/trunk/test/wasm/lto/cache.ll

Modified: lld/trunk/test/COFF/lto-cache.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/lto-cache.ll?rev=348607&r1=348606&r2=348607&view=diff
==============================================================================
--- lld/trunk/test/COFF/lto-cache.ll (original)
+++ lld/trunk/test/COFF/lto-cache.ll Fri Dec  7 08:21:08 2018
@@ -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

Modified: lld/trunk/test/ELF/lto/cache.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/cache.ll?rev=348607&r1=348606&r2=348607&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/cache.ll (original)
+++ lld/trunk/test/ELF/lto/cache.ll Fri Dec  7 08:21:08 2018
@@ -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

Modified: lld/trunk/test/wasm/lto/cache.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/lto/cache.ll?rev=348607&r1=348606&r2=348607&view=diff
==============================================================================
--- lld/trunk/test/wasm/lto/cache.ll (original)
+++ lld/trunk/test/wasm/lto/cache.ll Fri Dec  7 08:21:08 2018
@@ -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.




More information about the llvm-commits mailing list