clang/test/Misc/diag-template-diffing-color.cpp: Introduce the feature 'ansi-escape-sequences'.

llvm-svn: 160043
This commit is contained in:
NAKAMURA Takumi 2012-07-11 11:44:00 +00:00
parent 2a148668b6
commit b59973e6cd
2 changed files with 5 additions and 1 deletions

View File

@ -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() {

View File

@ -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()