[llvm] 878deae - [LLVM] Do not require shell for some tests (#94595)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 12:50:51 PDT 2024
Author: Jay Foad
Date: 2024-06-06T20:50:46+01:00
New Revision: 878deaeeadb940c892908cb51356b60000626db8
URL: https://github.com/llvm/llvm-project/commit/878deaeeadb940c892908cb51356b60000626db8
DIFF: https://github.com/llvm/llvm-project/commit/878deaeeadb940c892908cb51356b60000626db8.diff
LOG: [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.
Added:
Modified:
llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
llvm/test/Other/can-execute.txt
llvm/test/Other/lit-unicode.txt
llvm/test/tools/llvm-cov/gcov/intermediate-format.test
llvm/test/tools/llvm-rc/windres-prefix.test
llvm/test/tools/split-file/output-is-special.test
Removed:
################################################################################
diff --git a/llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test b/llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
index 5141ff6ce322c..9e46570783c93 100644
--- a/llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
+++ b/llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
@@ -1,4 +1,3 @@
-# REQUIRES: shell
# Ensure that no realpath assumptions are made about .gnu_debuglink paths.
# Copy inputs to some other location with arbitrary names, with the original
diff --git a/llvm/test/Other/can-execute.txt b/llvm/test/Other/can-execute.txt
index 46791cb892a28..37626e7357b28 100644
--- a/llvm/test/Other/can-execute.txt
+++ b/llvm/test/Other/can-execute.txt
@@ -1,5 +1,4 @@
REQUIRES: can-execute
-REQUIRES: shell
This tests that we abstract two peculiarities of unix in can_execute:
diff --git a/llvm/test/Other/lit-unicode.txt b/llvm/test/Other/lit-unicode.txt
index 2f40001451688..b375fc505b737 100644
--- a/llvm/test/Other/lit-unicode.txt
+++ b/llvm/test/Other/lit-unicode.txt
@@ -1,5 +1,4 @@
FIXME: See if we can fix this in lit by using Unicode strings.
-REQUIRES: shell
RUN: echo "ようこそ" | FileCheck %s
CHECK: {{^}}ようこそ{{$}}
diff --git a/llvm/test/tools/llvm-cov/gcov/intermediate-format.test b/llvm/test/tools/llvm-cov/gcov/intermediate-format.test
index 583e670c2d3fa..a3f4695c3204f 100644
--- a/llvm/test/tools/llvm-cov/gcov/intermediate-format.test
+++ b/llvm/test/tools/llvm-cov/gcov/intermediate-format.test
@@ -1,5 +1,3 @@
-REQUIRES: shell
-
RUN: rm -rf %t && mkdir %t && cd %t
RUN: cp %S/Inputs/test.gcno %S/Inputs/test.gcda .
diff --git a/llvm/test/tools/llvm-rc/windres-prefix.test b/llvm/test/tools/llvm-rc/windres-prefix.test
index 4c53fdfc3db65..7dda51d063523 100644
--- a/llvm/test/tools/llvm-rc/windres-prefix.test
+++ b/llvm/test/tools/llvm-rc/windres-prefix.test
@@ -1,5 +1,3 @@
-; REQUIRES: shell
-
; RUN: rm -rf %t && mkdir %t
; Check that a triple prefix on the executable gets picked up as target triple.
diff --git a/llvm/test/tools/split-file/output-is-special.test b/llvm/test/tools/split-file/output-is-special.test
index 98bb4d36a4ff3..0b1e0f786c4d2 100644
--- a/llvm/test/tools/split-file/output-is-special.test
+++ b/llvm/test/tools/split-file/output-is-special.test
@@ -1,5 +1,4 @@
# UNSUPPORTED: system-windows
-# REQUIRES: shell
## Don't delete the output if it is special, otherwise root may accidentally
## remove important special files.
More information about the llvm-commits
mailing list