From: Nico Weber Date: Fri, 22 Apr 2016 00:38:09 +0000 (+0000) Subject: Try to get test passing on OS X (see comment at top of file). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=428050ef9e4b338413460e9fcb63be106a153e6c;p=clang Try to get test passing on OS X (see comment at top of file). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267089 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/cl-pch.cpp b/test/Driver/cl-pch.cpp index d8b7a660f0..8d701da5b0 100644 --- a/test/Driver/cl-pch.cpp +++ b/test/Driver/cl-pch.cpp @@ -309,12 +309,12 @@ // CHECK-YCTc: "c" // Don't crash when a non-source file is passed. -// RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c -### %S/Inputs/file.prof 2>&1 \ +// RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c -### -- %S/Inputs/file.prof 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-NoSource %s // CHECK-NoSource: file.prof:{{.*}}input unused // ...but if an explicit file turns the file into a source file, handle it: -// RUN: %clang_cl /TP -Werror /Ycpchfile.h /FIpchfile.h /c -### %S/Inputs/file.prof 2>&1 \ +// RUN: %clang_cl /TP -Werror /Ycpchfile.h /FIpchfile.h /c -### -- %S/Inputs/file.prof 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-NoSourceTP %s // CHECK-NoSourceTP: cc1 // CHECK-NoSourceTP: -emit-pch