test: Add the feature "shell". Frontend/dependency-gen.c would be executable with shell.
The feature "shell" is implemented in llvm/test.
llvm-svn: 126646
diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg
index 6567c6d..8542b7d 100644
--- a/clang/test/lit.cfg
+++ b/clang/test/lit.cfg
@@ -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')