aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/altivec.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-04-09 20:40:11 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-04-09 20:40:11 +0000
commitae7e939bc027ef19ca91ab8bcccb11338a0bd576 (patch)
tree5055d260c185358094b8db532f30892c498cb6d1 /test/Driver/altivec.cpp
parent16dc261feca18e21ee3cd2fd82a0320d34a42cdd (diff)
Author: Daniel Dunbar <daniel@zuster.org>
--- log message follows this test --- [tests] Fixup some tests to work in "CLANG_IS_PRODUCTION" mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/altivec.cpp')
-rw-r--r--test/Driver/altivec.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Driver/altivec.cpp b/test/Driver/altivec.cpp
index 86d3cf2b6e..6059ad09e7 100644
--- a/test/Driver/altivec.cpp
+++ b/test/Driver/altivec.cpp
@@ -1,14 +1,14 @@
// Check that we error when -faltivec is specified on non-ppc platforms.
-// RUN: %clang -target powerpc-apple-darwin -faltivec -fsyntax-only %s
-// RUN: %clang -target powerpc64-linux-gnu -faltivec -fsyntax-only %s
+// RUN: %clang -ccc-clang-archs powerpc -target powerpc-apple-darwin -faltivec -fsyntax-only %s
+// RUN: %clang -ccc-clang-archs powerpc64 -target powerpc64-linux-gnu -faltivec -fsyntax-only %s
// RUN: %clang -target i386-pc-win32 -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
// RUN: %clang -target x86_64-unknown-freebsd -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
// RUN: %clang -target armv6-apple-darwin -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
// RUN: %clang -target armv7-apple-darwin -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
-// RUN: %clang -target mips-linux-gnu -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
-// RUN: %clang -target mips64-linux-gnu -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
-// RUN: %clang -target sparc-unknown-solaris -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
+// RUN: %clang -ccc-clang-archs mips -target mips-linux-gnu -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
+// RUN: %clang -ccc-clang-archs mips64 -target mips64-linux-gnu -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
+// RUN: %clang -ccc-clang-archs sparc -target sparc-unknown-solaris -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
// CHECK: invalid argument '-faltivec' only allowed with 'ppc/ppc64'