Skip to content

Commit 9b2713a

Browse files
committed
fixup: Remove unneeded -o /dev/null in tests
1 parent 2a28290 commit 9b2713a

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

lld/test/ELF/riscv-feature-zicfilp-func-sig.s

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,28 @@
3737
## zicfilp-func-sig-report should report any input files that don't have the
3838
## zicfilp-func-sig property
3939
# RUN: ld.lld rv32-func1-zicfilp.o rv32-func2.o rv32-func3-zicfilp.o \
40-
# RUN: -z zicfilp-func-sig-report=warning -o /dev/null 2>&1 \
40+
# RUN: -z zicfilp-func-sig-report=warning 2>&1 \
4141
# RUN: | FileCheck --check-prefix=MISS-LP-WARN %s
4242
# RUN: not ld.lld rv32-func2-zicfilp.o rv32-func3.o --shared \
43-
# RUN: -z zicfilp-func-sig-report=error 2>&1 \
43+
# RUN: -z zicfilp-func-sig-report=error 2>&1 \
4444
# RUN: | FileCheck --check-prefix=MISS-LP-ERROR %s
4545

4646
# RUN: ld.lld rv32-func1-zicfilp.o rv32-func2-zicfilp.o rv32-func3-zicfilp.o \
47-
# RUN: -z zicfilp-func-sig-report=warning -o /dev/null 2>&1 | count 0
47+
# RUN: -z zicfilp-func-sig-report=warning 2>&1 | count 0
4848
# RUN: ld.lld rv32-func1-zicfilp.o rv32-func2-zicfilp.o rv32-func3-zicfilp.o \
49-
# RUN: -z zicfilp-func-sig-report=error -o /dev/null 2>&1 | count 0
49+
# RUN: -z zicfilp-func-sig-report=error 2>&1 | count 0
5050

5151
# RUN: ld.lld rv64-func1-zicfilp.o rv64-func2.o rv64-func3-zicfilp.o \
52-
# RUN: -z zicfilp-func-sig-report=warning -o /dev/null 2>&1 \
52+
# RUN: -z zicfilp-func-sig-report=warning 2>&1 \
5353
# RUN: | FileCheck --check-prefix=MISS-LP-WARN %s
5454
# RUN: not ld.lld rv64-func2-zicfilp.o rv64-func3.o --shared \
55-
# RUN: -z zicfilp-func-sig-report=error 2>&1 \
55+
# RUN: -z zicfilp-func-sig-report=error 2>&1 \
5656
# RUN: | FileCheck --check-prefix=MISS-LP-ERROR %s
5757

5858
# RUN: ld.lld rv64-func1-zicfilp.o rv64-func2-zicfilp.o rv64-func3-zicfilp.o \
59-
# RUN: -z zicfilp-func-sig-report=warning -o /dev/null 2>&1 | count 0
59+
# RUN: -z zicfilp-func-sig-report=warning 2>&1 | count 0
6060
# RUN: ld.lld rv64-func1-zicfilp.o rv64-func2-zicfilp.o rv64-func3-zicfilp.o \
61-
# RUN: -z zicfilp-func-sig-report=error -o /dev/null 2>&1 | count 0
61+
# RUN: -z zicfilp-func-sig-report=error 2>&1 | count 0
6262

6363
# MISS-LP-WARN: warning: rv{{32|64}}-func2.o: -z zicfilp-func-sig-report:
6464
# MISS-LP-WARN-SAME: file does not have

lld/test/ELF/riscv-feature-zicfilp-unlabeled.s

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,28 +51,28 @@
5151
## zicfilp-unlabeled-report should report any input files that don't have the
5252
## zicfilp-unlabeled property
5353
# RUN: ld.lld rv32-func1-zicfilp.o rv32-func2.o rv32-func3-zicfilp.o \
54-
# RUN: -z zicfilp-unlabeled-report=warning -o /dev/null 2>&1 \
54+
# RUN: -z zicfilp-unlabeled-report=warning 2>&1 \
5555
# RUN: | FileCheck --check-prefix=MISS-LP-WARN %s
5656
# RUN: not ld.lld rv32-func2-zicfilp.o rv32-func3.o --shared \
57-
# RUN: -z zicfilp-unlabeled-report=error 2>&1 \
57+
# RUN: -z zicfilp-unlabeled-report=error 2>&1 \
5858
# RUN: | FileCheck --check-prefix=MISS-LP-ERROR %s
5959

6060
# RUN: ld.lld rv32-func1-zicfilp.o rv32-func2-zicfilp.o rv32-func3-zicfilp.o \
61-
# RUN: -z zicfilp-unlabeled-report=warning -o /dev/null 2>&1 | count 0
61+
# RUN: -z zicfilp-unlabeled-report=warning 2>&1 | count 0
6262
# RUN: ld.lld rv32-func1-zicfilp.o rv32-func2-zicfilp.o rv32-func3-zicfilp.o \
63-
# RUN: -z zicfilp-unlabeled-report=error -o /dev/null 2>&1 | count 0
63+
# RUN: -z zicfilp-unlabeled-report=error 2>&1 | count 0
6464

6565
# RUN: ld.lld rv64-func1-zicfilp.o rv64-func2.o rv64-func3-zicfilp.o \
66-
# RUN: -z zicfilp-unlabeled-report=warning -o /dev/null 2>&1 \
66+
# RUN: -z zicfilp-unlabeled-report=warning 2>&1 \
6767
# RUN: | FileCheck --check-prefix=MISS-LP-WARN %s
6868
# RUN: not ld.lld rv64-func2-zicfilp.o rv64-func3.o --shared \
69-
# RUN: -z zicfilp-unlabeled-report=error 2>&1 \
69+
# RUN: -z zicfilp-unlabeled-report=error 2>&1 \
7070
# RUN: | FileCheck --check-prefix=MISS-LP-ERROR %s
7171

7272
# RUN: ld.lld rv64-func1-zicfilp.o rv64-func2-zicfilp.o rv64-func3-zicfilp.o \
73-
# RUN: -z zicfilp-unlabeled-report=warning -o /dev/null 2>&1 | count 0
73+
# RUN: -z zicfilp-unlabeled-report=warning 2>&1 | count 0
7474
# RUN: ld.lld rv64-func1-zicfilp.o rv64-func2-zicfilp.o rv64-func3-zicfilp.o \
75-
# RUN: -z zicfilp-unlabeled-report=error -o /dev/null 2>&1 | count 0
75+
# RUN: -z zicfilp-unlabeled-report=error 2>&1 | count 0
7676

7777
# MISS-LP-WARN: warning: rv{{32|64}}-func2.o: -z zicfilp-unlabeled-report:
7878
# MISS-LP-WARN-SAME: file does not have

lld/test/ELF/riscv-feature-zicfiss.s

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,28 @@
3636
## zicfiss-report should report any input files that don't have the zicfiss
3737
## property
3838
# RUN: ld.lld rv32-func1-zicfiss.o rv32-func2.o rv32-func3-zicfiss.o \
39-
# RUN: -z zicfiss-report=warning -o /dev/null 2>&1 \
39+
# RUN: -z zicfiss-report=warning 2>&1 \
4040
# RUN: | FileCheck --check-prefix=MISS-SS-WARN %s
4141
# RUN: not ld.lld rv32-func2-zicfiss.o rv32-func3.o --shared \
42-
# RUN: -z zicfiss-report=error 2>&1 \
42+
# RUN: -z zicfiss-report=error 2>&1 \
4343
# RUN: | FileCheck --check-prefix=MISS-SS-ERROR %s
4444

4545
# RUN: ld.lld rv32-func1-zicfiss.o rv32-func2-zicfiss.o rv32-func3-zicfiss.o \
46-
# RUN: -z zicfiss-report=warning -o /dev/null 2>&1 | count 0
46+
# RUN: -z zicfiss-report=warning 2>&1 | count 0
4747
# RUN: ld.lld rv32-func1-zicfiss.o rv32-func2-zicfiss.o rv32-func3-zicfiss.o \
48-
# RUN: -z zicfiss-report=error -o /dev/null 2>&1 | count 0
48+
# RUN: -z zicfiss-report=error 2>&1 | count 0
4949

5050
# RUN: ld.lld rv64-func1-zicfiss.o rv64-func2.o rv64-func3-zicfiss.o \
51-
# RUN: -z zicfiss-report=warning -o /dev/null 2>&1 \
51+
# RUN: -z zicfiss-report=warning 2>&1 \
5252
# RUN: | FileCheck --check-prefix=MISS-SS-WARN %s
5353
# RUN: not ld.lld rv64-func2-zicfiss.o rv64-func3.o --shared \
54-
# RUN: -z zicfiss-report=error 2>&1 \
54+
# RUN: -z zicfiss-report=error 2>&1 \
5555
# RUN: | FileCheck --check-prefix=MISS-SS-ERROR %s
5656

5757
# RUN: ld.lld rv64-func1-zicfiss.o rv64-func2-zicfiss.o rv64-func3-zicfiss.o \
58-
# RUN: -z zicfiss-report=warning -o /dev/null 2>&1 | count 0
58+
# RUN: -z zicfiss-report=warning 2>&1 | count 0
5959
# RUN: ld.lld rv64-func1-zicfiss.o rv64-func2-zicfiss.o rv64-func3-zicfiss.o \
60-
# RUN: -z zicfiss-report=error -o /dev/null 2>&1 | count 0
60+
# RUN: -z zicfiss-report=error 2>&1 | count 0
6161

6262
# MISS-SS-WARN: warning: rv{{32|64}}-func2.o: -z zicfiss-report: file does not
6363
# MISS-SS-WARN-SAME: have GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS property

0 commit comments

Comments
 (0)