test: Add the feature 'shell' on LLVM_ON_UNIX.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 7 Dec 2010 02:43:51 +0000 (02:43 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 7 Dec 2010 02:43:51 +0000 (02:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121104 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 8c869f0787bd78a9843cd8a8051a4d37d600343a..98f72092e3121d71037e6a5ace6d1f3e24739a7e 100644 (file)
@@ -226,6 +226,10 @@ config.on_clone = on_clone
 
 ### Features
 
+# Shell execution
+if sys.platform not in ['win32']:
+    config.available_features.add('shell')
+
 # Loadable module
 # FIXME: This should be supplied by Makefile or autoconf.
 if sys.platform in ['win32', 'cygwin']: