diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-11 11:44:00 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-11 11:44:00 +0000 |
commit | 0ca4be3c9a29dbebc89a4c1834ac684e48d231f2 (patch) | |
tree | a87b09046e6b49ea2b68dc9599142524ed52fe3c | |
parent | be779598aa70a71c56e5d576947ade53e249c602 (diff) |
clang/test/Misc/diag-template-diffing-color.cpp: Introduce the feature 'ansi-escape-sequences'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160043 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Misc/diag-template-diffing-color.cpp | 2 | ||||
-rw-r--r-- | test/lit.cfg | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/Misc/diag-template-diffing-color.cpp b/test/Misc/diag-template-diffing-color.cpp index fc100e30dd..6903e848d3 100644 --- a/test/Misc/diag-template-diffing-color.cpp +++ b/test/Misc/diag-template-diffing-color.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -fcolor-diagnostics %s 2>&1 | FileCheck %s // RUN: %clang_cc1 -fsyntax-only -fcolor-diagnostics -fdiagnostics-show-template-tree %s 2>&1 | FileCheck %s -check-prefix=TREE -// XFAIL: mingw32,win32 +// REQUIRES: ansi-escape-sequences template<typename> struct foo {}; void func(foo<int>); int main() { diff --git a/test/lit.cfg b/test/lit.cfg index 738dc38e5b..1fc6059326 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -222,6 +222,10 @@ if platform.system() not in ['FreeBSD']: if platform.system() not in ['Windows'] or lit.getBashPath() != '': config.available_features.add('shell') +# ANSI escape sequences in non-dump terminal +if platform.system() not in ['Windows']: + config.available_features.add('ansi-escape-sequences') + # Registered Targets def get_llc_props(tool): set_of_targets = set() |