Skip to content

Commit 5ccdce9

Browse files
authored
[test] Skip some tests on Windows only (#95095)
These tests pass on Linux using lit's internal shell.
1 parent 2e007b8 commit 5ccdce9

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

llvm/test/DebugInfo/symbolize-gnu-debuglink-fallback.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: shell
1+
# UNSUPPORTED: system-windows
22
# Ensures that .debuglink can fallback to a separate location. This is normally
33
# /usr/lib/debug (or /usr/libdata/debug for NetBSD), but can be configured on
44
# the command line (mainly for testing).

llvm/test/tools/llvm-cov/gcov/basic.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Test fails on Windows where internal shell is used due to path separator
55
# mismatches.
6-
REQUIRES: shell
6+
UNSUPPORTED: system-windows
77

88
RUN: rm -rf %t
99
RUN: mkdir %t

llvm/test/tools/llvm-rc/windres-preproc.test

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
;; Some quoted arguments below don't work properly on Windows when llvm-lit
2-
;; invokes the cmd shell to run the commands. Just require running in a
3-
;; posix shell, to keep being able to test this corner case on Unix at least.
4-
; REQUIRES: shell
2+
;; invokes the cmd shell to run the commands.
3+
; UNSUPPORTED: system-windows
54

65
; RUN: llvm-windres -### --include-dir %p/incdir1 --include %p/incdir2 "-DFOO1=\\\"foo bar\\\"" -UFOO2 -D FOO3 --preprocessor-arg "-DFOO4=\\\"baz baz\\\"" -DFOO5=\"bar\" %p/Inputs/empty.rc %t.res | FileCheck %s --check-prefix=CHECK1
76
; RUN: llvm-windres -### --include-dir %p/incdir1 --include %p/incdir2 "-DFOO1=\"foo bar\"" -UFOO2 -D FOO3 --preprocessor-arg "-DFOO4=\"baz baz\"" "-DFOO5=bar" %p/Inputs/empty.rc %t.res --use-temp-file | FileCheck %s --check-prefix=CHECK1

0 commit comments

Comments
 (0)