forked from OSchip/llvm-project
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:
parent
afe4a3062d
commit
f5ea88b8ab
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue