From: Yaron Keren Date: Wed, 15 Jul 2015 18:40:05 +0000 (+0000) Subject: Since r179283, internal shell is default on windows and so shell-preserves-root X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a42afddee8d4d74b3a613eb5506ff554ab93f478;p=clang Since r179283, internal shell is default on windows and so shell-preserves-root is true on MSYS bash although this requires: used to disable tests on MSYS bash. Nevertheless, all tests requiring shell-preserves-root do pass except for Driver/darwin-sdkroot.c. It will require a patch, either by disabling it on Windows or by fixing shell-preserves-root to really be true only on MSYS and making darwin-sdkroot.c its only user. In any case, all other tests requiring shell-preserves-root do not really require it so I'm replacing REQUIRES: shell-preserves-root with REQUIRES: shell in two tests first. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242312 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/darwin-sdkroot.c b/test/Driver/darwin-sdkroot.c index 3fc2a13c19..b1d794e193 100644 --- a/test/Driver/darwin-sdkroot.c +++ b/test/Driver/darwin-sdkroot.c @@ -32,7 +32,7 @@ // CHECK-NONROOT-NOT: "-isysroot" // // It doesn't make sense on msys bash. -// REQUIRES: shell-preserves-root +// REQUIRES: shell // // This test fails with MSYS or MSYS2 env.exe, since it does not preserve // root, expanding / into C:/MINGW/MSYS/1.0 or c:/msys64. To reproduce the diff --git a/test/Driver/dyld-prefix.c b/test/Driver/dyld-prefix.c index 5336a1142e..54e063cb83 100644 --- a/test/Driver/dyld-prefix.c +++ b/test/Driver/dyld-prefix.c @@ -1,4 +1,4 @@ -// REQUIRES: shell-preserves-root +// REQUIRES: shell // RUN: touch %t.o