r234173 - Fix this test so it doesn't try to open a file to write to the source tree

David Blaikie dblaikie at gmail.com
Mon Apr 6 09:33:18 PDT 2015


Author: dblaikie
Date: Mon Apr  6 11:33:18 2015
New Revision: 234173

URL: http://llvm.org/viewvc/llvm-project?rev=234173&view=rev
Log:
Fix this test so it doesn't try to open a file to write to the source tree

Modified:
    cfe/trunk/test/Profile/profile-does-not-exist.c

Modified: cfe/trunk/test/Profile/profile-does-not-exist.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Profile/profile-does-not-exist.c?rev=234173&r1=234172&r2=234173&view=diff
==============================================================================
--- cfe/trunk/test/Profile/profile-does-not-exist.c (original)
+++ cfe/trunk/test/Profile/profile-does-not-exist.c Mon Apr  6 11:33:18 2015
@@ -1,4 +1,4 @@
-// RUN: not %clang_cc1 -emit-llvm %s -fprofile-instr-use=%t.nonexistent.profdata 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 -emit-llvm %s -o - -fprofile-instr-use=%t.nonexistent.profdata 2>&1 | FileCheck %s
 
 // CHECK: error: Could not read profile:
 // CHECK-NOT: Assertion failed





More information about the cfe-commits mailing list