[Sema] Silence buildbot failures introduced by r302935
authorSimon Dardis <simon.dardis@imgtec.com>
Fri, 12 May 2017 19:55:32 +0000 (19:55 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Fri, 12 May 2017 19:55:32 +0000 (19:55 +0000)
Attempt to silence buildbot failures by pinning the test to a given
triple rather than the host's triple.

llvm-svn: 302941

clang/test/Sema/vector-gcc-compat.c
clang/test/Sema/vector-gcc-compat.cpp

index b61f8ed..9eb0569 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only -Weverything
+// RUN: %clang_cc1 %s -verify -fsyntax-only -Weverything -triple x86_64-apple-darwin10
 
 // Test the compatibility of clang's vector extensions with gcc's vector
 // extensions for C. Notably &&, ||, ?: and ! are not available.
index 9e9bd4d..12da314 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only -Weverything -std=c++11
+// RUN: %clang_cc1 %s -verify -fsyntax-only -Weverything -std=c++11 -triple x86_64-apple-darwin10
 
 // Test the compatibility of clang++'s vector extensions with g++'s vector
 // extensions. In comparison to the extensions available in C, the !, ?:, && and