[clang-tools-extra] r324441 - test: use target triple for the test

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 18:27:34 PST 2018


Author: compnerd
Date: Tue Feb  6 18:27:34 2018
New Revision: 324441

URL: http://llvm.org/viewvc/llvm-project?rev=324441&view=rev
Log:
test: use target triple for the test

Now that `pragma comment` is also used on ELF-ish targets with a
restricted set of options, we need to specify the full target here for
the test.

Modified:
    clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-ms.cpp

Modified: clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-ms.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-ms.cpp?rev=324441&r1=324440&r2=324441&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-ms.cpp (original)
+++ clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-ms.cpp Tue Feb  6 18:27:34 2018
@@ -1,4 +1,4 @@
-// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w | FileCheck --strict-whitespace %s
+// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64-unknown-windows-msvc -fms-extensions -w | FileCheck --strict-whitespace %s
 
 #pragma comment(compiler, "compiler comment")
 #pragma comment(exestr, "exestr comment")




More information about the cfe-commits mailing list