From 203bc14845ec4b7101c2647a09191a2f16b4c6e8 Mon Sep 17 00:00:00 2001 From: Yaron Keren <yaron.keren@gmail.com> Date: Wed, 15 Jul 2015 20:04:18 +0000 Subject: [PATCH] =?UTF-8?q?Erase=20REQUIRES:=20shell-preserves-root=20from?= =?UTF-8?q?=20remaining=20tests,=20see=20r242312.=C3=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242323 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/debug-info-namespace.cpp | 1 - test/Driver/cl-link-at-file.c | 3 --- test/Driver/cl-options.c | 3 --- test/Driver/cl-outputs.c | 3 --- test/Driver/cl-runtime-flags.c | 3 --- test/Driver/cl-x86-flags.c | 2 -- test/Driver/cl-zc.cpp | 3 --- test/Driver/working-directory.c | 1 - test/Misc/permissions.cpp | 4 ---- 9 files changed, 23 deletions(-) diff --git a/test/CodeGenCXX/debug-info-namespace.cpp b/test/CodeGenCXX/debug-info-namespace.cpp index 8a00d9b4a5e..1643804b871 100644 --- a/test/CodeGenCXX/debug-info-namespace.cpp +++ b/test/CodeGenCXX/debug-info-namespace.cpp @@ -110,5 +110,4 @@ void B::func_fwd() {} // CHECK-NOLIMIT-NOT: DIFlagFwdDecl // CHECK-NOLIMIT-SAME: ){{$}} -// REQUIRES: shell-preserves-root // REQUIRES: dw2 diff --git a/test/Driver/cl-link-at-file.c b/test/Driver/cl-link-at-file.c index f817ce523ad..3a37e2f476e 100644 --- a/test/Driver/cl-link-at-file.c +++ b/test/Driver/cl-link-at-file.c @@ -1,9 +1,6 @@ // PR17239 - The /link option, when inside a response file, should only extend // until the end of the response file (and not the entire command line) -// Don't attempt slash switches on msys bash. -// REQUIRES: shell-preserves-root - // Note: %s must be preceded by -- or bound to another option, otherwise it may // be interpreted as a command-line option, e.g. on Mac where %s is commonly // under /Users. diff --git a/test/Driver/cl-options.c b/test/Driver/cl-options.c index a1145f106db..c8fcfa60502 100644 --- a/test/Driver/cl-options.c +++ b/test/Driver/cl-options.c @@ -1,6 +1,3 @@ -// Don't attempt slash switches on msys bash. -// REQUIRES: shell-preserves-root - // Note: %s must be preceded by --, otherwise it may be interpreted as a // command-line option, e.g. on Mac where %s is commonly under /Users. diff --git a/test/Driver/cl-outputs.c b/test/Driver/cl-outputs.c index 3d986db198a..bf6b4317262 100644 --- a/test/Driver/cl-outputs.c +++ b/test/Driver/cl-outputs.c @@ -1,6 +1,3 @@ -// Don't attempt slash switches on msys bash. -// REQUIRES: shell-preserves-root - // Note: %s must be preceded by --, otherwise it may be interpreted as a // command-line option, e.g. on Mac where %s is commonly under /Users. diff --git a/test/Driver/cl-runtime-flags.c b/test/Driver/cl-runtime-flags.c index 8367531f9cc..de8f9d83d89 100644 --- a/test/Driver/cl-runtime-flags.c +++ b/test/Driver/cl-runtime-flags.c @@ -1,6 +1,3 @@ -// Don't attempt slash switches on msys bash. -// REQUIRES: shell-preserves-root - // Note: %s must be preceded by --, otherwise it may be interpreted as a // command-line option, e.g. on Mac where %s is commonly under /Users. diff --git a/test/Driver/cl-x86-flags.c b/test/Driver/cl-x86-flags.c index d4f7fb58597..32cd072ec1e 100644 --- a/test/Driver/cl-x86-flags.c +++ b/test/Driver/cl-x86-flags.c @@ -1,5 +1,3 @@ -// Don't attempt slash switches on msys bash. -// REQUIRES: shell-preserves-root // REQUIRES: x86-registered-target // We support -m32 and -m64. We support all x86 CPU feature flags in gcc's -m diff --git a/test/Driver/cl-zc.cpp b/test/Driver/cl-zc.cpp index 85eacffc02a..26496293201 100644 --- a/test/Driver/cl-zc.cpp +++ b/test/Driver/cl-zc.cpp @@ -1,6 +1,3 @@ -// Don't attempt slash switches on msys bash. -// REQUIRES: shell-preserves-root - // Note: %s must be preceded by --, otherwise it may be interpreted as a // command-line option, e.g. on Mac where %s is commonly under /Users. diff --git a/test/Driver/working-directory.c b/test/Driver/working-directory.c index 195abaca6f0..15ba8f00bd1 100644 --- a/test/Driver/working-directory.c +++ b/test/Driver/working-directory.c @@ -1,4 +1,3 @@ // RUN: %clang -### -working-directory /no/such/dir/ input 2>&1 | FileCheck %s -// REQUIRES: shell-preserves-root //CHECK: no such file or directory: '/no/such/dir/input' diff --git a/test/Misc/permissions.cpp b/test/Misc/permissions.cpp index 143e49d58ea..83f6c572080 100644 --- a/test/Misc/permissions.cpp +++ b/test/Misc/permissions.cpp @@ -1,9 +1,5 @@ // REQUIRES: shell -// MSYS doesn't emulate umask. -// FIXME: Could we introduce another feature for it? -// REQUIRES: shell-preserves-root - // RUN: umask 000 // RUN: %clang_cc1 -emit-llvm-bc %s -o %t // RUN: ls -l %t | FileCheck --check-prefix=CHECK000 %s -- GitLab