The feature "shell" is implemented in llvm/test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126646
91177308-0d34-0410-b5e6-
96231b3b80d8
// 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
# 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')