[llvm] r184932 - Suppress llvm/test/Other/can-execute.txt on msys bash.

NAKAMURA Takumi geek4civic at gmail.com
Wed Jun 26 03:56:44 PDT 2013


Author: chapuni
Date: Wed Jun 26 05:56:44 2013
New Revision: 184932

URL: http://llvm.org/viewvc/llvm-project?rev=184932&view=rev
Log:
Suppress llvm/test/Other/can-execute.txt on msys bash.

Modified:
    llvm/trunk/test/Other/can-execute.txt
    llvm/trunk/test/lit.cfg

Modified: llvm/trunk/test/Other/can-execute.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/can-execute.txt?rev=184932&r1=184931&r2=184932&view=diff
==============================================================================
--- llvm/trunk/test/Other/can-execute.txt (original)
+++ llvm/trunk/test/Other/can-execute.txt Wed Jun 26 05:56:44 2013
@@ -1,4 +1,4 @@
-REQUIRES: shell
+REQUIRES: can-execute
 
 This tests that we abstract two peculiarities of unix in can_execute:
 

Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=184932&r1=184931&r2=184932&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Wed Jun 26 05:56:44 2013
@@ -250,6 +250,10 @@ for pattern in [r"\bbugpoint\b(?!-)",
 if execute_external:
     config.available_features.add('shell')
 
+# Others/can-execute.txt
+if sys.platform not in ['win32']:
+    config.available_features.add('can-execute')
+
 # Loadable module
 # FIXME: This should be supplied by Makefile or autoconf.
 if sys.platform in ['win32', 'cygwin']:





More information about the llvm-commits mailing list