]> granicus.if.org Git - llvm/commitdiff
[ThinLTO] Make this test more robust across multiple runs.
authorDavide Italiano <davide@freebsd.org>
Fri, 10 Feb 2017 21:35:31 +0000 (21:35 +0000)
committerDavide Italiano <davide@freebsd.org>
Fri, 10 Feb 2017 21:35:31 +0000 (21:35 +0000)
The yaml emitter files are left around otherwise.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294784 91177308-0d34-0410-b5e6-96231b3b80d8

test/ThinLTO/X86/diagnostic-handler-remarks.ll

index 7467a082c5a5631a807a13ce9fb6012c5a052dd9..94fdacac7161df46cd90e52a9269ba96c8f7ef78 100644 (file)
@@ -2,6 +2,7 @@
 ; RUN: opt -module-summary %p/Inputs/diagnostic-handler-remarks.ll -o %t2.bc
 
 ; Optimization records are collected regardless of the diagnostic handler
+; RUN: rm -f %t.yaml.*
 ; RUN: llvm-lto -thinlto-action=run \
 ; RUN:          -lto-pass-remarks-output=%t.yaml \
 ; RUN:          -exported-symbol _func2 \