From: NAKAMURA Takumi Date: Sat, 31 Dec 2011 02:36:23 +0000 (+0000) Subject: Split out clang/test/Driver/debug-options-as.c from debug-options.c, and mark it... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=868f65c6bf904591f62a0d69866825d2d3dfd16f;p=clang Split out clang/test/Driver/debug-options-as.c from debug-options.c, and mark it as XFAIL: mingw32. Mingw32 target has not supported integrated-as yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147386 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/debug-options-as.c b/test/Driver/debug-options-as.c new file mode 100644 index 0000000000..0159e16302 --- /dev/null +++ b/test/Driver/debug-options-as.c @@ -0,0 +1,10 @@ +// Check to make sure clang with -g on a .s file gets passed. +// rdar://9275556 +// RUN: touch %t.s +// RUN: %clang -### -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s +// +// mingw has not supported integrated-as yet. +// XFAIL: mingw32 +// +// S: "-cc1as" +// S: "-g" diff --git a/test/Driver/debug-options.c b/test/Driver/debug-options.c index 0d42ee92d3..867251971d 100644 --- a/test/Driver/debug-options.c +++ b/test/Driver/debug-options.c @@ -5,10 +5,6 @@ // RUN: %clang -### -c -g3 %s 2>&1 | FileCheck -check-prefix=G3 %s // RUN: %clang -### -c -ganything %s 2>&1 | FileCheck -check-prefix=GANY %s // RUN: %clang -### -c -gfoo %s 2>&1 | FileCheck -check-prefix=GFOO %s -// Check to make sure clang with -g on a .s file gets passed. -// rdar://9275556 -// RUN: touch %t.s -// RUN: %clang -### -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s // // G: "-cc1" // G: "-g" @@ -21,6 +17,3 @@ // // GFOO: "-cc1" // GFOO-NOT: "-g" -// -// S: "-cc1as" -// S: "-g"