From 334111d0be8bf3cd186ae9c66c8f2eb194003677 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 17 Jan 2013 07:27:55 +0000 Subject: [PATCH] clang/test/Index/code-completion-skip-bodies.cpp: Check stdout and stderr individually, rather than mixed output of stdout and stderr with 2>&1. XFAIL(s) are removed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172705 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Index/code-completion-skip-bodies.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Index/code-completion-skip-bodies.cpp b/test/Index/code-completion-skip-bodies.cpp index 67b2196396..b7570b631a 100644 --- a/test/Index/code-completion-skip-bodies.cpp +++ b/test/Index/code-completion-skip-bodies.cpp @@ -11,10 +11,10 @@ void func(S *s) { s->x = 0; } -// RUN: c-index-test -code-completion-at=%s:11:6 %s 2>&1 | FileCheck %s -// CHECK-NOT: error: use of undeclared identifier 'undeclared1' -// CHECK: error: use of undeclared identifier 'undeclared2' -// CHECK: FieldDecl:{ResultType int}{TypedText x} +// RUN: c-index-test -code-completion-at=%s:11:6 %s 2> %t.stderr | FileCheck %s --check-prefix=STDOUT +// RUN: FileCheck --input-file=%t.stderr --check-prefix=STDERR %s -// FIXME: Investigating -// XFAIL: cygwin,mingw32,win32 +// STDOUT: FieldDecl:{ResultType int}{TypedText x} + +// STDERR-NOT: error: use of undeclared identifier 'undeclared1' +// STDERR: error: use of undeclared identifier 'undeclared2' -- 2.40.0