-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[LLVM] Do not require shell for some tests #94595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-debuginfo Author: Jay Foad (jayfoad) ChangesRemove Full diff: https://github.com/llvm/llvm-project/pull/94595.diff 6 Files Affected:
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..89d52af111c2e 100644
--- a/llvm/test/tools/llvm-cov/gcov/intermediate-format.test
+++ b/llvm/test/tools/llvm-cov/gcov/intermediate-format.test
@@ -1,4 +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..fb26e645d3a01 100644
--- a/llvm/test/tools/llvm-rc/windres-prefix.test
+++ b/llvm/test/tools/llvm-rc/windres-prefix.test
@@ -1,4 +1,3 @@
-; REQUIRES: shell
; RUN: rm -rf %t && mkdir %t
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.
|
@@ -1,4 +1,3 @@ | |||
REQUIRES: shell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If REQIRES: shell
is the first line, delete the blank line after it as well.
@@ -1,4 +1,3 @@ | |||
; REQUIRES: shell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If REQIRES: shell is the first line, delete the blank line after it as well.
Hi @zmodem, I have just noticed that you have reverted some of these changes because of gnuwin32 failures. What did the failures look like? Is there a bot I can look at? I'd prefer to find a more precise way to disable them than |
The ones with
I assumed that's some gnuwin32 thing having poor unicode support. Both of these can be seen here https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8745531620523249025/+/u/package_clang/stdout |
Yeah I think For the unicode thing, seems sketchy to expect it to work on Windows. I cut the file down to just the |
|
I don't think so. I think
This sounds similar to the printf problems that were worked around in #83907, and again the solution was |
These tests do not require bash. Skip them because they use features not available on Windows. This is a follow up to llvm#94595.
Works for me, I was not aware the internal shell could call out to things like |
These tests do not require bash. Skip them because they use features not available on Windows. This is a follow up to #94595.
Remove
REQUIRES: shell
from some tests that seem fine without it.Tested on Windows and with LIT_USE_INTERNAL_SHELL=1 on Linux.