r179514 - Add triples to these tests since they're now using TLS, which isn't available on all targets.

Richard Smith richard-llvm at metafoo.co.uk
Mon Apr 15 01:00:15 PDT 2013


Author: rsmith
Date: Mon Apr 15 03:00:15 2013
New Revision: 179514

URL: http://llvm.org/viewvc/llvm-project?rev=179514&view=rev
Log:
Add triples to these tests since they're now using TLS, which isn't available on all targets.

Modified:
    cfe/trunk/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp
    cfe/trunk/test/PCH/thread-local.cpp

Modified: cfe/trunk/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp?rev=179514&r1=179513&r2=179514&view=diff
==============================================================================
--- cfe/trunk/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp (original)
+++ cfe/trunk/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp Mon Apr 15 03:00:15 2013
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++11 %s -verify
+// RUN: %clang_cc1 -std=c++11 %s -verify -triple x86_64-linux-gnu
 
 namespace std {
   typedef decltype(nullptr) nullptr_t;

Modified: cfe/trunk/test/PCH/thread-local.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/thread-local.cpp?rev=179514&r1=179513&r2=179514&view=diff
==============================================================================
--- cfe/trunk/test/PCH/thread-local.cpp (original)
+++ cfe/trunk/test/PCH/thread-local.cpp Mon Apr 15 03:00:15 2013
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -pedantic-errors -std=c++11 -emit-pch %s -o %t
-// RUN: %clang_cc1 -pedantic-errors -std=c++11 -include-pch %t -verify %s
+// RUN: %clang_cc1 -pedantic-errors -std=c++11 -triple x86_64-linux-gnu -emit-pch %s -o %t
+// RUN: %clang_cc1 -pedantic-errors -std=c++11 -triple x86_64-linux-gnu -include-pch %t -verify %s
 
 #ifndef HEADER_INCLUDED
 





More information about the cfe-commits mailing list