Try to get test passing on OS X (see comment at top of file).
authorNico Weber <nicolasweber@gmx.de>
Fri, 22 Apr 2016 00:38:09 +0000 (00:38 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 22 Apr 2016 00:38:09 +0000 (00:38 +0000)
llvm-svn: 267089

clang/test/Driver/cl-pch.cpp

index d8b7a66..8d701da 100644 (file)
 // 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