Suppress llvm/test/Other/can-execute.txt on msys bash.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 26 Jun 2013 10:56:44 +0000 (10:56 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 26 Jun 2013 10:56:44 +0000 (10:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184932 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/can-execute.txt
test/lit.cfg

index c7d08f6d8b10c28533617b52c3ca35d61b75faae..fd6961f86bf18e06037b610a725b36c0b1e33309 100644 (file)
@@ -1,4 +1,4 @@
-REQUIRES: shell
+REQUIRES: can-execute
 
 This tests that we abstract two peculiarities of unix in can_execute:
 
index 9442dbfc8979ebcee3d24b51e8af80ed24a2ac21..575204697085e4a6d1ded8fa0b459ab04b2b241e 100644 (file)
@@ -250,6 +250,10 @@ for pattern in [r"\bbugpoint\b(?!-)",   r"(?<!/|-)\bclang\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']: