forked from OSchip/llvm-project
clang/test/Driver/darwin-sdkroot.c: Suppress this on msys bash, to introduce the feature "shell-preserves-root".
MSYS transforms '/' to 'X:/mingwroot/'. llvm-svn: 172598
This commit is contained in:
parent
6519564c97
commit
6c8127cc73
|
@ -30,3 +30,6 @@
|
|||
// CHECK-NONROOT: clang
|
||||
// CHECK-NONROOT: "-cc1"
|
||||
// CHECK-NONROOT-NOT: "-isysroot"
|
||||
//
|
||||
// It doesn't make sense on msys bash.
|
||||
// REQUIRES: shell-preserves-root
|
||||
|
|
|
@ -218,6 +218,10 @@ if platform.system() not in ['FreeBSD']:
|
|||
if platform.system() not in ['Windows'] or lit.getBashPath() != '':
|
||||
config.available_features.add('shell')
|
||||
|
||||
# Exclude MSYS due to transforming '/' to 'X:/mingwroot/'.
|
||||
if not platform.system() in ['Windows'] or lit.getBashPath() == '':
|
||||
config.available_features.add('shell-preserves-root')
|
||||
|
||||
# For tests that require Darwin to run.
|
||||
if platform.system() in ['Darwin']:
|
||||
config.available_features.add('system-darwin')
|
||||
|
|
Loading…
Reference in New Issue