r211615 - Fix test added in r211610 so it doesn't race on output file creation.

David Blaikie dblaikie at gmail.com
Tue Jun 24 10:31:05 PDT 2014


Author: dblaikie
Date: Tue Jun 24 12:31:05 2014
New Revision: 211615

URL: http://llvm.org/viewvc/llvm-project?rev=211615&view=rev
Log:
Fix test added in r211610 so it doesn't race on output file creation.

Modified:
    cfe/trunk/test/Frontend/optimization-remark.c

Modified: cfe/trunk/test/Frontend/optimization-remark.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/optimization-remark.c?rev=211615&r1=211614&r2=211615&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/optimization-remark.c (original)
+++ cfe/trunk/test/Frontend/optimization-remark.c Tue Jun 24 12:31:05 2014
@@ -5,7 +5,7 @@
 
 // RUN: %clang_cc1 %s -Rpass=inline -Rpass-analysis=inline -Rpass-missed=inline -O0 -emit-llvm-only -verify
 // RUN: %clang_cc1 %s -DNDEBUG -Rpass=inline -emit-llvm-only -verify
-// RUN: %clang_cc1 %s -Rpass=inline -emit-llvm -o %t 2>/dev/null | FileCheck %s < %t
+// RUN: %clang_cc1 %s -Rpass=inline -emit-llvm -o - 2>/dev/null | FileCheck %s
 
 // -Rpass should produce source location annotations, exclusively (just
 // like -gmlt).





More information about the cfe-commits mailing list