diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-07-20 00:49:53 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-07-20 00:49:53 +0000 |
commit | daa177d64008262053f2a3bb92e5378698586ee9 (patch) | |
tree | 5724e926c9eca59b5a41cd7c97c943c7ae10a494 | |
parent | 0ccd98dff05616696f78572c46bf055dc244a605 (diff) |
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
-rw-r--r-- | test/Tooling/clang-ast-dump.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 |