Skip to content

Commit 878deae

Browse files
authored
[LLVM] Do not require shell for some tests (#94595)
Remove `REQUIRES: shell` from some tests that seem fine without it. Tested on Windows and with LIT_USE_INTERNAL_SHELL=1 on Linux.
1 parent 2cc1644 commit 878deae

File tree

6 files changed

+0
-8
lines changed

6 files changed

+0
-8
lines changed

llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# REQUIRES: shell
21
# Ensure that no realpath assumptions are made about .gnu_debuglink paths.
32

43
# Copy inputs to some other location with arbitrary names, with the original

llvm/test/Other/can-execute.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
REQUIRES: can-execute
2-
REQUIRES: shell
32

43
This tests that we abstract two peculiarities of unix in can_execute:
54

llvm/test/Other/lit-unicode.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
FIXME: See if we can fix this in lit by using Unicode strings.
2-
REQUIRES: shell
32

43
RUN: echo "ようこそ" | FileCheck %s
54
CHECK: {{^}}ようこそ{{$}}

llvm/test/tools/llvm-cov/gcov/intermediate-format.test

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
REQUIRES: shell
2-
31
RUN: rm -rf %t && mkdir %t && cd %t
42
RUN: cp %S/Inputs/test.gcno %S/Inputs/test.gcda .
53

llvm/test/tools/llvm-rc/windres-prefix.test

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
; REQUIRES: shell
2-
31
; RUN: rm -rf %t && mkdir %t
42

53
; Check that a triple prefix on the executable gets picked up as target triple.

llvm/test/tools/split-file/output-is-special.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# UNSUPPORTED: system-windows
2-
# REQUIRES: shell
32

43
## Don't delete the output if it is special, otherwise root may accidentally
54
## remove important special files.

0 commit comments

Comments
 (0)