From 0eebe13674c457a95319849934427d35479662e1 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Thu, 11 Oct 2018 17:49:20 +0000 Subject: [PATCH] clang-cl: set output of lit-test to a tmp file after r344234 Some test frameworks do not allow output file in CWD. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344266 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/cl-showfilenames.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Driver/cl-showfilenames.c b/test/Driver/cl-showfilenames.c index 39620036e1..fff7cb4d59 100644 --- a/test/Driver/cl-showfilenames.c +++ b/test/Driver/cl-showfilenames.c @@ -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" -- 2.40.0