From 5656c8a2a22ef4a7a854c9bcbd56b793a08d58f7 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 12 Jun 2024 09:04:53 +0100 Subject: [PATCH] [test] Skip some tests on Windows only These tests do not require bash. Skip them because they use features not available on Windows. This is a follow up to #94595. --- llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test | 4 +++- llvm/test/Other/lit-unicode.txt | 4 ++-- llvm/test/tools/llvm-rc/windres-prefix.test | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test b/llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test index 5141ff6ce322c..63c9f82bb0a63 100644 --- a/llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test +++ b/llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test @@ -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 diff --git a/llvm/test/Other/lit-unicode.txt b/llvm/test/Other/lit-unicode.txt index 2f40001451688..d884337d7cb2e 100644 --- a/llvm/test/Other/lit-unicode.txt +++ b/llvm/test/Other/lit-unicode.txt @@ -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 RUN: echo "ようこそ" | FileCheck %s CHECK: {{^}}ようこそ{{$}} diff --git a/llvm/test/tools/llvm-rc/windres-prefix.test b/llvm/test/tools/llvm-rc/windres-prefix.test index 4c53fdfc3db65..a907666284704 100644 --- a/llvm/test/tools/llvm-rc/windres-prefix.test +++ b/llvm/test/tools/llvm-rc/windres-prefix.test @@ -1,4 +1,5 @@ -; REQUIRES: shell +; This test uses symlinks. +; UNSUPPORTED: system-windows ; RUN: rm -rf %t && mkdir %t