r193443 - Skip this test when using lit integrated shell

Alp Toker alp at nuanti.com
Fri Oct 25 15:30:07 PDT 2013


Author: alp
Date: Fri Oct 25 17:30:07 2013
New Revision: 193443

URL: http://llvm.org/viewvc/llvm-project?rev=193443&view=rev
Log:
Skip this test when using lit integrated shell

It wasn't passing on UNIX with LIT_USE_INTERNAL_SHELL=1
due to cat globbing.

Modified:
    cfe/trunk/test/Coverage/html-diagnostics.c

Modified: cfe/trunk/test/Coverage/html-diagnostics.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/html-diagnostics.c?rev=193443&r1=193442&r2=193443&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/html-diagnostics.c (original)
+++ cfe/trunk/test/Coverage/html-diagnostics.c Fri Oct 25 17:30:07 2013
@@ -2,6 +2,9 @@
 // RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t %s
 // RUN: cat %t/*.html | FileCheck %s
 
+// Because of the glob (*.html)
+// REQUIRES: shell
+
 // CHECK: <h3>Annotated Source Code</h3>
 
 // Without tweaking expr, the expr would hit to the line below





More information about the cfe-commits mailing list