r185470 - Redirect the output of a test to a temporary file to prevent messing up

Richard Trieu rtrieu at google.com
Tue Jul 2 13:49:10 PDT 2013


Author: rtrieu
Date: Tue Jul  2 15:49:10 2013
New Revision: 185470

URL: http://llvm.org/viewvc/llvm-project?rev=185470&view=rev
Log:
Redirect the output of a test to a temporary file to prevent messing up
the test environment.

Modified:
    cfe/trunk/test/CodeGen/PR15826.c

Modified: cfe/trunk/test/CodeGen/PR15826.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/PR15826.c?rev=185470&r1=185469&r2=185470&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/PR15826.c (original)
+++ cfe/trunk/test/CodeGen/PR15826.c Tue Jul  2 15:49:10 2013
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -emit-llvm %s
+// RUN: %clang_cc1 -verify -emit-llvm %s -o %t
 
 /* Testcase for PR15826 - clang hits assert in clang::ASTContext::getASTRecordLayout */
 struct sysctl_req {





More information about the cfe-commits mailing list