diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-16 06:10:16 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-16 06:10:16 +0000 |
commit | 05a10ff30bd7c93f689c002963e6ba536e83904a (patch) | |
tree | 8af0917a077d4555c8b2c2c9f2fa25074acd7290 | |
parent | d7b1d2467d8bf01be5068dbbad1a6324cee8bf4a (diff) |
clang/test/Driver/darwin-sdkroot.c: Suppress this on msys bash, to introduce the feature "shell-preserves-root".
MSYS transforms '/' to 'X:/mingwroot/'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172598 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/darwin-sdkroot.c | 3 | ||||
-rw-r--r-- | test/lit.cfg | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/darwin-sdkroot.c b/test/Driver/darwin-sdkroot.c index f463f4a279..b727fa6bb0 100644 --- a/test/Driver/darwin-sdkroot.c +++ b/test/Driver/darwin-sdkroot.c @@ -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 diff --git a/test/lit.cfg b/test/lit.cfg index fae5fa099e..f22b0376b4 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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') |