]> granicus.if.org Git - clang/commitdiff
clang/test/Misc/diag-template-diffing-color.cpp: Introduce the feature 'ansi-escape...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 11 Jul 2012 11:44:00 +0000 (11:44 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 11 Jul 2012 11:44:00 +0000 (11:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160043 91177308-0d34-0410-b5e6-96231b3b80d8

test/Misc/diag-template-diffing-color.cpp
test/lit.cfg

index fc100e30ddfe83d0050a33aa5b3eef7f32af9d29..6903e848d3df1a266576a6c990ecc3c9a170d40e 100644 (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() {
index 738dc38e5bd5a3e2169e9b910cf8a2059addae6a..1fc6059326d80c63df00905b180aa5fc615acd19 100644 (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()