From: Chandler Carruth Date: Fri, 20 Jul 2012 00:49:53 +0000 (+0000) Subject: Switch to the canonical pipe-based testing of clang output using X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daa177d64008262053f2a3bb92e5378698586ee9;p=clang Switch to the canonical pipe-based testing of clang output using FileCheck. This avoids copying files around needlessly during test runs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160535 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Tooling/clang-ast-dump.cpp b/test/Tooling/clang-ast-dump.cpp index 99e550b274..3847bc6fad 100644 --- a/test/Tooling/clang-ast-dump.cpp +++ b/test/Tooling/clang-ast-dump.cpp @@ -1,6 +1,4 @@ -// RUN: rm -f %t -// RUN: clang-ast-dump "%s" -f test_namespace::TheClass::theMethod -- -c > %t 2>&1 -// RUN: FileCheck --input-file=%t %s +// RUN: clang-ast-dump "%s" -f test_namespace::TheClass::theMethod -- -c 2>&1 | FileCheck %s // FIXME: Does this run regardless of +Asserts? // REQUIRES: asserts