Permalink
Browse files

[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.
  • Loading branch information...
mgorny committed Dec 7, 2018
1 parent 956e323 commit bfdaf4cbbba679880be821c207c656eb35ce65f6
Showing with 6 additions and 0 deletions.
  1. +2 −0 lld/test/COFF/lto-cache.ll
  2. +2 −0 lld/test/ELF/lto/cache.ll
  3. +2 −0 lld/test/wasm/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
@@ -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
@@ -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.

0 comments on commit bfdaf4c

Please sign in to comment.