diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-28 09:41:07 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-28 09:41:07 +0000 |
commit | ef34d774d8fa1bf3c315b2bc9419f77a0458d810 (patch) | |
tree | 005125d41da085cb97dfc0166dd54ba2ef7e1710 | |
parent | b154063c70234074ec26e5355adec1aa1ca7382c (diff) |
test: Add the feature "shell". Frontend/dependency-gen.c would be executable with shell.
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
-rw-r--r-- | test/Frontend/dependency-gen.c | 3 | ||||
-rw-r--r-- | test/lit.cfg | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/Frontend/dependency-gen.c b/test/Frontend/dependency-gen.c index bad8493829..0f8adabc85 100644 --- a/test/Frontend/dependency-gen.c +++ b/test/Frontend/dependency-gen.c @@ -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 diff --git a/test/lit.cfg b/test/lit.cfg index 6567c6d229..8542b7d8d7 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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') |