Author: ioeric
Date: Thu Oct 11 10:49:20 2018
New Revision: 344266

URL: http://llvm.org/viewvc/llvm-project?rev=344266&view=rev
Log:
clang-cl: set output of lit-test to a tmp file after r344234

Some test frameworks do not allow output file in CWD.

Modified:
    cfe/trunk/test/Driver/cl-showfilenames.c

Modified: cfe/trunk/test/Driver/cl-showfilenames.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-showfilenames.c?rev=344266&r1=344265&r2=344266&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-showfilenames.c (original)
+++ cfe/trunk/test/Driver/cl-showfilenames.c Thu Oct 11 10:49:20 2018
@@ -1,8 +1,8 @@
-// RUN: %clang_cl /c /showFilenames -- %s 2>&1 | FileCheck -check-prefix=show 
%s
-// RUN: %clang_cl /c /showFilenames -- %s %S/Inputs/wildcard*.c 2>&1 | 
FileCheck -check-prefix=multiple %s
+// RUN: %clang_cl /c /o %t.obj /showFilenames -- %s 2>&1 | FileCheck 
-check-prefix=show %s
+// RUN: %clang_cl /c /o %t.obj /showFilenames -- %s %S/Inputs/wildcard*.c 2>&1 
| FileCheck -check-prefix=multiple %s
 
-// RUN: %clang_cl /c -- %s 2>&1 | FileCheck -check-prefix=noshow %s
-// RUN: %clang_cl /c /showFilenames /showFilenames- -- %s 2>&1 | FileCheck 
-check-prefix=noshow %s
+// RUN: %clang_cl /c /o %t.obj -- %s 2>&1 | FileCheck -check-prefix=noshow %s
+// RUN: %clang_cl /c /o %t.obj /showFilenames /showFilenames- -- %s 2>&1 | 
FileCheck -check-prefix=noshow %s
 
 
 #pragma message "Hello"


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to