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
This commit is contained in:
NAKAMURA Takumi 2011-02-28 09:41:07 +00:00
parent afe4a3062d
commit f5ea88b8ab
2 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,8 @@
// 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

View File

@ -166,3 +166,7 @@ config.substitutions.append(
# 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')