Skip to content

Commit f3aeff0

Browse files
Rollup merge of #51343 - glaubitz:sparc64-tests, r=shepmaster
test: Ignore some problematic tests on sparc and sparc64 This updates the list of tests which can be safely ignored on sparc and sparc64.
2 parents 54cb13d + 6902409 commit f3aeff0

17 files changed

+29
-8
lines changed

src/test/codegen/abi-main-signature-16bit-c-int.rs

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
// ignore-powerpc64
2323
// ignore-s390x
2424
// ignore-sparc
25+
// ignore-sparc64
2526
// ignore-wasm32
2627
// ignore-x86
2728
// ignore-x86_64

src/test/codegen/fastcall-inreg.rs

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
// ignore-r600
3030
// ignore-amdgcn
3131
// ignore-sparc
32+
// ignore-sparc64
3233
// ignore-sparcv9
3334
// ignore-sparcel
3435
// ignore-s390x

src/test/codegen/repr-transparent-aggregates-2.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// ignore-asmjs
1515
// ignore-mips64
1616
// ignore-s390x
17+
// ignore-sparc
18+
// ignore-sparc64
1719
// ignore-wasm
1820
// ignore-x86
1921
// ignore-x86_64

src/test/codegen/stack-probes.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// ignore-mips64
1515
// ignore-powerpc
1616
// ignore-s390x
17+
// ignore-sparc
18+
// ignore-sparc64
1719
// ignore-wasm
1820
// ignore-emscripten
1921
// ignore-windows

src/test/codegen/x86_mmx.rs

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// ignore-emscripten
1414
// ignore-mips
1515
// ignore-mips64
16+
// ignore-sparc
17+
// ignore-sparc64
1618
// compile-flags: -O
1719

1820
#![feature(repr_simd)]

src/test/compile-fail/asm-bad-clobber.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// ignore-emscripten
1616
// ignore-powerpc
1717
// ignore-sparc
18+
// ignore-sparc64
1819
// ignore-mips
1920
// ignore-mips64
2021

src/test/compile-fail/asm-in-bad-modifier.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ignore-emscripten
1313
// ignore-powerpc
1414
// ignore-sparc
15+
// ignore-sparc64
1516
// ignore-mips
1617
// ignore-mips64
1718

src/test/compile-fail/asm-misplaced-option.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// ignore-emscripten
1616
// ignore-powerpc
1717
// ignore-sparc
18+
// ignore-sparc64
1819
// ignore-mips
1920
// ignore-mips64
2021

src/test/compile-fail/asm-out-no-modifier.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ignore-emscripten
1313
// ignore-powerpc
1414
// ignore-sparc
15+
// ignore-sparc64
1516
// ignore-mips
1617
// ignore-mips64
1718

src/test/compile-fail/asm-out-read-uninit.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ignore-emscripten
1313
// ignore-powerpc
1414
// ignore-sparc
15+
// ignore-sparc64
1516
// ignore-mips
1617
// ignore-mips64
1718

src/test/compile-fail/borrowck/borrowck-asm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ignore-emscripten
1313
// ignore-powerpc
1414
// ignore-sparc
15+
// ignore-sparc64
1516

1617
// revisions: ast mir
1718
//[mir]compile-flags: -Z borrowck=mir

src/test/run-pass/stack-probes-lto.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// ignore-mips64
1515
// ignore-powerpc
1616
// ignore-s390x
17+
// ignore-sparc
18+
// ignore-sparc64
1719
// ignore-wasm
1820
// ignore-cloudabi no processes
1921
// ignore-emscripten no processes

src/test/run-pass/stack-probes.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// ignore-mips64
1515
// ignore-powerpc
1616
// ignore-s390x
17+
// ignore-sparc
18+
// ignore-sparc64
1719
// ignore-wasm
1820
// ignore-cloudabi no processes
1921
// ignore-emscripten no processes

src/test/ui/asm-out-assign-imm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ignore-emscripten
1313
// ignore-powerpc
1414
// ignore-sparc
15+
// ignore-sparc64
1516
// ignore-mips
1617

1718
#![feature(asm)]

src/test/ui/asm-out-assign-imm.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0384]: cannot assign twice to immutable variable `x`
2-
--> $DIR/asm-out-assign-imm.rs:30:9
2+
--> $DIR/asm-out-assign-imm.rs:31:9
33
|
44
LL | x = 1;
55
| ----- first assignment to `x`

src/test/ui/target-feature-wrong.rs

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// ignore-mips
1616
// ignore-powerpc
1717
// ignore-s390x
18+
// ignore-sparc
19+
// ignore-sparc64
1820

1921
#![feature(target_feature)]
2022

src/test/ui/target-feature-wrong.stderr

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
error: #[target_feature] attribute must be of the form #[target_feature(..)]
2-
--> $DIR/target-feature-wrong.rs:21:1
2+
--> $DIR/target-feature-wrong.rs:23:1
33
|
44
LL | #[target_feature = "+sse2"]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
66

77
error: the feature named `foo` is not valid for this target
8-
--> $DIR/target-feature-wrong.rs:23:18
8+
--> $DIR/target-feature-wrong.rs:25:18
99
|
1010
LL | #[target_feature(enable = "foo")]
1111
| ^^^^^^^^^^^^^^
1212

1313
error: #[target_feature(..)] only accepts sub-keys of `enable` currently
14-
--> $DIR/target-feature-wrong.rs:25:18
14+
--> $DIR/target-feature-wrong.rs:27:18
1515
|
1616
LL | #[target_feature(bar)]
1717
| ^^^
1818

1919
error: #[target_feature(..)] only accepts sub-keys of `enable` currently
20-
--> $DIR/target-feature-wrong.rs:27:18
20+
--> $DIR/target-feature-wrong.rs:29:18
2121
|
2222
LL | #[target_feature(disable = "baz")]
2323
| ^^^^^^^^^^^^^^^
2424

2525
error: #[target_feature(..)] can only be applied to `unsafe` function
26-
--> $DIR/target-feature-wrong.rs:31:1
26+
--> $DIR/target-feature-wrong.rs:33:1
2727
|
2828
LL | #[target_feature(enable = "sse2")]
2929
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3030

3131
error: attribute should be applied to a function
32-
--> $DIR/target-feature-wrong.rs:35:1
32+
--> $DIR/target-feature-wrong.rs:37:1
3333
|
3434
LL | #[target_feature(enable = "sse2")]
3535
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -38,7 +38,7 @@ LL | mod another {}
3838
| -------------- not a function
3939

4040
error: cannot use #[inline(always)] with #[target_feature]
41-
--> $DIR/target-feature-wrong.rs:39:1
41+
--> $DIR/target-feature-wrong.rs:41:1
4242
|
4343
LL | #[inline(always)]
4444
| ^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)