[cfe-commits] r82417 - /cfe/trunk/test/Driver/ast.c
Daniel Dunbar
daniel at zuster.org
Sun Sep 20 16:35:52 PDT 2009
Author: ddunbar
Date: Sun Sep 20 18:35:52 2009
New Revision: 82417
URL: http://llvm.org/viewvc/llvm-project?rev=82417&view=rev
Log:
Work around FileCheck -NOT restriction.
Modified:
cfe/trunk/test/Driver/ast.c
Modified: cfe/trunk/test/Driver/ast.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/ast.c?rev=82417&r1=82416&r2=82417&view=diff
==============================================================================
--- cfe/trunk/test/Driver/ast.c (original)
+++ cfe/trunk/test/Driver/ast.c Sun Sep 20 18:35:52 2009
@@ -1,4 +1,5 @@
// RUN: clang -ccc-host-triple i386-unknown-unknown -ccc-print-phases -emit-ast %s 2> %t &&
+// RUN: echo 'END' >> %t &&
// RUN: FileCheck -check-prefix EMIT-AST-PHASES -input-file %t %s &&
// EMIT-AST-PHASES: 0: input,
@@ -6,9 +7,11 @@
// EMIT-AST-PHASES: 1: preprocessor, {0}, cpp-output
// EMIT-AST-PHASES: 2: compiler, {1}, ast
// EMIT-AST-PHASES-NOT: 3:
+// EMIT-AST-PHASES: END
// RUN: touch %t.ast &&
// RUN: clang -ccc-host-triple i386-unknown-unknown -ccc-print-phases -c %t.ast 2> %t &&
+// RUN: echo 'END' >> %t &&
// RUN: FileCheck -check-prefix COMPILE-AST-PHASES -input-file %t %s
// COMPILE-AST-PHASES: 0: input,
@@ -16,6 +19,7 @@
// COMPILE-AST-PHASES: 1: compiler, {0}, assembler
// COMPILE-AST-PHASES: 2: assembler, {1}, object
// COMPILE-AST-PHASES-NOT: 3:
+// COMPILE-AST-PHASES: END
// FIXME: There is a problem with compiling AST's in that the input language is
// not availabe for use by other tools (for example, to automatically add
More information about the cfe-commits
mailing list