[llvm] 35f9e5f - [test] Skip some tests on Windows only (#95205)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 08:55:42 PDT 2024


Author: Jay Foad
Date: 2024-06-12T16:55:38+01:00
New Revision: 35f9e5f51d52ed4a5653405345c18e07673a6b73

URL: https://github.com/llvm/llvm-project/commit/35f9e5f51d52ed4a5653405345c18e07673a6b73
DIFF: https://github.com/llvm/llvm-project/commit/35f9e5f51d52ed4a5653405345c18e07673a6b73.diff

LOG: [test] Skip some tests on Windows only (#95205)

These tests do not require bash. Skip them because they use features not
available on Windows. This is a follow up to #94595.

Added: 
    

Modified: 
    llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
    llvm/test/Other/lit-unicode.txt
    llvm/test/tools/llvm-rc/windres-prefix.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..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
 


        


More information about the llvm-commits mailing list