r212871 - Require an x86 registered target for this test by splitting it out

Reid Kleckner reid at kleckner.net
Fri Jul 11 17:40:59 PDT 2014


Author: rnk
Date: Fri Jul 11 19:40:59 2014
New Revision: 212871

URL: http://llvm.org/viewvc/llvm-project?rev=212871&view=rev
Log:
Require an x86 registered target for this test by splitting it out

This is a shot in the dark to fix the hexagon bot, so I'm not 100% sure
this is the issue.

Added:
    cfe/trunk/test/Driver/cl-x86-flags.c
Modified:
    cfe/trunk/test/Driver/cl-options.c

Modified: cfe/trunk/test/Driver/cl-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=212871&r1=212870&r2=212871&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-options.c (original)
+++ cfe/trunk/test/Driver/cl-options.c Fri Jul 11 19:40:59 2014
@@ -285,12 +285,6 @@
 // Xclang: "-cc1"
 // Xclang: "hellocc1"
 
-// We support -m32 and -m64.  We support all x86 CPU feature flags in gcc's -m
-// flag space.
-// RUN: %clang_cl /Zs /WX -m32 -m64 -msse3 -msse4.1 -mavx -mno-avx \
-// RUN:     -### -- 2>&1 %s | FileCheck -check-prefix=MFLAGS %s
-// MFLAGS-NOT: argument unused during compilation
-
 // RTTI is on by default. /GR- controls -fno-rtti-data.
 // RUN: %clang_cl /c /GR- -### -- %s 2>&1 | FileCheck -check-prefix=NoRTTI %s
 // NoRTTI: "-fno-rtti-data"

Added: cfe/trunk/test/Driver/cl-x86-flags.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-x86-flags.c?rev=212871&view=auto
==============================================================================
--- cfe/trunk/test/Driver/cl-x86-flags.c (added)
+++ cfe/trunk/test/Driver/cl-x86-flags.c Fri Jul 11 19:40:59 2014
@@ -0,0 +1,12 @@
+// Don't attempt slash switches on msys bash.
+// REQUIRES: shell-preserves-root
+// REQUIRES: x86-registered-target
+
+// We support -m32 and -m64.  We support all x86 CPU feature flags in gcc's -m
+// flag space.
+// RUN: %clang_cl /Zs /WX -m32 -m64 -msse3 -msse4.1 -mavx -mno-avx \
+// RUN:     -### -- 2>&1 %s | FileCheck -check-prefix=MFLAGS %s
+// MFLAGS-NOT: argument unused during compilation
+
+void f() {
+}





More information about the cfe-commits mailing list