[llvm] r294784 - [ThinLTO] Make this test more robust across multiple runs.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 13:35:31 PST 2017


Author: davide
Date: Fri Feb 10 15:35:31 2017
New Revision: 294784

URL: http://llvm.org/viewvc/llvm-project?rev=294784&view=rev
Log:
[ThinLTO] Make this test more robust across multiple runs.

The yaml emitter files are left around otherwise.

Modified:
    llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll

Modified: llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll?rev=294784&r1=294783&r2=294784&view=diff
==============================================================================
--- llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll (original)
+++ llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll Fri Feb 10 15:35:31 2017
@@ -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 \




More information about the llvm-commits mailing list