Skip to content

[test] Skip some tests on Windows only #95205

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

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# REQUIRES: shell
# This test uses symlinks.
UNSUPPORTED: system-windows

# Ensure that no realpath assumptions are made about .gnu_debuglink paths.

# Copy inputs to some other location with arbitrary names, with the original
Expand Down
4 changes: 2 additions & 2 deletions llvm/test/Other/lit-unicode.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FIXME: See if we can fix this in lit by using Unicode strings.
REQUIRES: shell
Windows echo does not have good Unicode support.
UNSUPPORTED: system-windows

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does something like RUN: python3 -c 'print("ようこそ")' | FileCheck %s work?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FTR, the test works fine for me on Windows, unless I force it to use the gnuwin32 echo instead of cmd's echo.

Maybe use printf instead of echo? That worked in my environment.

RUN: echo "ようこそ" | FileCheck %s
CHECK: {{^}}ようこそ{{$}}
3 changes: 2 additions & 1 deletion llvm/test/tools/llvm-rc/windres-prefix.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
; REQUIRES: shell
; This test uses symlinks.
; UNSUPPORTED: system-windows

; RUN: rm -rf %t && mkdir %t

Expand Down
Loading