[cfe-commits] r126646 - in /cfe/trunk/test: Frontend/dependency-gen.c lit.cfg

NAKAMURA Takumi geek4civic at gmail.com
Mon Feb 28 01:41:07 PST 2011


Author: chapuni
Date: Mon Feb 28 03:41:07 2011
New Revision: 126646

URL: http://llvm.org/viewvc/llvm-project?rev=126646&view=rev
Log:
test: Add the feature "shell". Frontend/dependency-gen.c would be executable with shell.

The feature "shell" is implemented in llvm/test.

Modified:
    cfe/trunk/test/Frontend/dependency-gen.c
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/Frontend/dependency-gen.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/dependency-gen.c?rev=126646&r1=126645&r2=126646&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/dependency-gen.c (original)
+++ cfe/trunk/test/Frontend/dependency-gen.c Mon Feb 28 03:41:07 2011
@@ -8,7 +8,8 @@
 // RUN: grep 'dependency-gen.c' %t.d
 
 // PR8974
-// XFAIL: win32
+// REQUIRES: shell
+// "cd %t.dir" requires shell.
 // RUN: rm -rf %t.dir
 // RUN: mkdir -p %t.dir/a/b
 // RUN: echo > %t.dir/a/b/x.h

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=126646&r1=126645&r2=126646&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Mon Feb 28 03:41:07 2011
@@ -166,3 +166,7 @@
 # Set available features we allow tests to conditionalize on.
 if platform.system() != 'Windows':
     config.available_features.add('crash-recovery')
+
+# Shell execution
+if platform.system() not in ['Windows'] or lit.getBashPath() != '':
+    config.available_features.add('shell')





More information about the cfe-commits mailing list