Skip to content

Commit 1a911aa

Browse files
[𝘀𝗽𝗿] changes to main this commit is based on
Created using spr 1.3.6 [skip ci]
1 parent 3ed91d8 commit 1a911aa

19 files changed

+98
-60
lines changed

lld/test/COFF/color-diagnostics.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Windows command prompt doesn't support ANSI escape sequences.
2-
# REQUIRES: shell
2+
# UNSUPPORTED: system-windows
33

44
# RUN: not lld-link -xyz --color-diagnostics /nosuchfile 2>&1 \
55
# RUN: | FileCheck -check-prefix=COLOR %s

lld/test/COFF/linkrepro-res.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# REQUIRES: x86, shell
1+
# REQUIRES: x86
2+
# Unsupported on Windows due to maximum path length limitations.
3+
# UNSUPPORTED: system-windows
24

35
# RUN: rm -rf %t.dir
46
# RUN: mkdir -p %t.dir/build

lld/test/COFF/linkrepro.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# REQUIRES: x86, shell
1+
# REQUIRES: x86
2+
# Unsupported on Windows due to maximum path length limitations.
3+
# UNSUPPORTED: system-windows
24

35
# RUN: rm -rf %t.dir
46
# RUN: split-file %s %t.dir

lld/test/ELF/arm-exidx-range.s

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// REQUIRES: arm, shell
1+
// REQUIRES: arm
2+
// Fails for unclear reasons on 32-bit windows
3+
// UNSUPPORTED: system-windows
24
// RUN: llvm-mc --arm-add-build-attributes --triple=armv7a-linux-gnueabihf -filetype=obj %s -o %t.o
35
// RUN: echo "SECTIONS { \
46
// RUN: . = 0x80000000; \

lld/test/ELF/color-diagnostics.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Windows command prompt doesn't support ANSI escape sequences.
2-
# REQUIRES: shell
2+
# UNSUPPORTED: system-windows
33

44
# RUN: not ld.lld -xyz --color-diagnostics /nosuchfile 2>&1 \
55
# RUN: | FileCheck -check-prefix=COLOR %s

lld/test/ELF/file-access.s

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# REQUIRES: x86, shell
1+
# REQUIRES: x86
2+
# UNSUPPORTED: system-windows
23

34
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
45
# RUN: ld.lld -r %t.o -o %t1.o

lld/test/ELF/linkerscript/invalid.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## We can't write quoted strings that are interpreted the same way
66
## by all echo commands. So, we don't want to run this on Windows.
77

8-
# REQUIRES: shell
8+
# UNSUPPORTED: system-windows
99

1010
# RUN: mkdir -p %t.dir
1111

lld/test/ELF/lto/comdat-nodeduplicate.ll

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; REQUIRES: x86, shell
1+
; REQUIRES: x86
22

33
;; Keep __profd_foo in a nodeduplicate comdat, despite a comdat of the same name
44
;; in a previous object file.
@@ -36,19 +36,25 @@
3636

3737
; RUN: ld.lld --thinlto-index-only --save-temps -u foo %t/a.bc %t/b.bc -o %t/ab
3838
; RUN: FileCheck %s --check-prefix=RESOL_AB < %t/ab.resolution.txt
39-
; RUN: (llvm-dis < %t/b.bc && llvm-dis < %t/b.bc.thinlto.bc) | FileCheck %s --check-prefix=IR_AB
39+
; RUN: llvm-dis < %t/b.bc > %t.out
40+
; RUN: llvm-dis < %t/b.bc.thinlto.bc >> %t.out
41+
; RUN: FileCheck %s --check-prefix=IR_AB --input-file %t.out
4042
; RUN: ld.lld -u foo %t/a.bc %t/b.bc -o %t/ab
4143
; RUN: llvm-readelf -x .data %t/ab | FileCheck %s --check-prefix=DATA
4244

4345
; RUN: ld.lld --thinlto-index-only --save-temps -u foo %t/a.bc --start-lib %t/b.bc --end-lib -o %t/ab
4446
; RUN: FileCheck %s --check-prefix=RESOL_AB < %t/ab.resolution.txt
45-
; RUN: (llvm-dis < %t/b.bc && llvm-dis < %t/b.bc.thinlto.bc) | FileCheck %s --check-prefix=IR_AB
47+
; RUN: llvm-dis < %t/b.bc > %t.out
48+
; RUN: llvm-dis < %t/b.bc.thinlto.bc >> %t.out
49+
; RUN: FileCheck %s --check-prefix=IR_AB --input-file %t.out
4650
; RUN: ld.lld -u foo %t/a.bc --start-lib %t/b.bc --end-lib -o %t/ab
4751
; RUN: llvm-readelf -x .data %t/ab | FileCheck %s --check-prefix=DATA
4852

4953
; RUN: ld.lld --thinlto-index-only --save-temps -u foo -u c %t/a.bc --start-lib %t/b.bc %t/c.bc --end-lib -o %t/abc
5054
; RUN: FileCheck %s --check-prefix=RESOL_ABC < %t/abc.resolution.txt
51-
; RUN: (llvm-dis < %t/b.bc && llvm-dis < %t/b.bc.thinlto.bc) | FileCheck %s --check-prefix=IR_ABC
55+
; RUN: llvm-dis < %t/b.bc > %t.out
56+
; RUN: llvm-dis < %t/b.bc.thinlto.bc >> %t.out
57+
; RUN: FileCheck %s --check-prefix=IR_ABC --input-file %t.out
5258
; RUN: ld.lld -u foo %t/a.bc --start-lib %t/b.bc %t/c.bc --end-lib -o %t/abc
5359
; RUN: llvm-readelf -x .data %t/abc | FileCheck %s --check-prefix=DATA
5460

lld/test/ELF/lto/resolution-err.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; UNSUPPORTED: system-windows
2-
; REQUIRES: shell, non-root-user
2+
; REQUIRES: non-root-user
33
; RUN: llvm-as %s -o %t.bc
44
; RUN: touch %t.resolution.txt
55
; RUN: chmod u-w %t.resolution.txt

lld/test/MachO/color-diagnostics.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Windows command prompt doesn't support ANSI escape sequences.
2-
# REQUIRES: shell
2+
# UNSUPPORTED: system-windows
33

44
# RUN: not %lld --color-diagnostics /nosuchfile 2>&1 \
55
# RUN: | FileCheck -check-prefix=COLOR %s

0 commit comments

Comments
 (0)