Permalink
Browse files

[test] Skip ThinLTO cache tests requiring atime setting on NetBSD

Skip the ThinLTO cache tests on NetBSD.  They require 'touch' being
able to alter atime of files, while NetBSD inhibits atime updates
when filesystem is mounted noatime.

Differential Revision: https://reviews.llvm.org/D55273
  • Loading branch information...
mgorny committed Dec 5, 2018
1 parent e7f3325 commit e62fe89eb4f55fb2f14e618bc1b2aab7fd69dd90
Showing with 3 additions and 1 deletion.
  1. +3 −1 llvm/test/ThinLTO/X86/cache.ll
@@ -1,5 +1,7 @@
; Verify first that *without* hash, we don't use the cache.
; NetBSD: noatime mounts currently inhibit 'touch -a' updates
; UNSUPPORTED: system-netbsd

; Verify first that *without* hash, we don't use the cache.
; RUN: opt -module-summary %s -o %t.bc
; RUN: opt -module-summary %p/Inputs/cache.ll -o %t2.bc

0 comments on commit e62fe89

Please sign in to comment.