Skip to content

Commit bdb26cc

Browse files
committed
update all the tests
1 parent 6439eae commit bdb26cc

File tree

5,007 files changed

+6759
-6728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,007 files changed

+6759
-6728
lines changed

tests/ui/abi/issue-94223.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// check-pass
1+
//@check-pass
22
#![allow(improper_ctypes_definitions)]
33
#![crate_type = "lib"]
44

tests/ui/abi/lib-defaults.rs

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

44
// ignore-wasm32-bare no libc to test ffi with
55

6-
// compile-flags: -lrust_test_helpers
6+
//@compile-flags: -lrust_test_helpers
77

88
#[link(name = "rust_test_helpers", kind = "static")]
99
extern "C" {

tests/ui/abi/rustcall-generic.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// revisions: normal opt
2-
// check-pass
3-
//[opt] compile-flags: -Zmir-opt-level=3
1+
//@revisions: normal opt
2+
//@check-pass
3+
//@[opt]compile-flags: -Zmir-opt-level=3
44

55
#![feature(unboxed_closures, tuple_trait)]
66

tests/ui/abi/stack-probes-lto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// ignore-sgx no processes
1212
// ignore-musl FIXME #31506
1313
// ignore-fuchsia no exception handler registered for segfault
14-
// compile-flags: -C lto
14+
//@compile-flags: -C lto
1515
// no-prefer-dynamic
1616
// ignore-nto Crash analysis impossible at SIGSEGV in QNX Neutrino
1717

tests/ui/abi/stack-protector.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// run-pass
22
// only-x86_64-unknown-linux-gnu
3-
// revisions: ssp no-ssp
4-
// [ssp] compile-flags: -Z stack-protector=all
5-
// compile-flags: -C opt-level=2
6-
// compile-flags: -g
3+
//@revisions: ssp no-ssp
4+
//@[ssp]compile-flags: -Z stack-protector=all
5+
//@compile-flags: -C opt-level=2
6+
//@compile-flags: -g
77

88
use std::env;
99
use std::process::{Command, ExitStatus};

tests/ui/abi/unsupported.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
// revisions: x64 i686 aarch64 arm
1+
//@revisions: x64 i686 aarch64 arm
22
//
33
// [x64] needs-llvm-components: x86
4-
// [x64] compile-flags: --target=x86_64-unknown-linux-gnu --crate-type=rlib
4+
//@[x64]compile-flags: --target=x86_64-unknown-linux-gnu --crate-type=rlib
55
// [i686] needs-llvm-components: x86
6-
// [i686] compile-flags: --target=i686-unknown-linux-gnu --crate-type=rlib
6+
//@[i686]compile-flags: --target=i686-unknown-linux-gnu --crate-type=rlib
77
// [aarch64] needs-llvm-components: aarch64
8-
// [aarch64] compile-flags: --target=aarch64-unknown-linux-gnu --crate-type=rlib
8+
//@[aarch64]compile-flags: --target=aarch64-unknown-linux-gnu --crate-type=rlib
99
// [arm] needs-llvm-components: arm
10-
// [arm] compile-flags: --target=armv7-unknown-linux-gnueabihf --crate-type=rlib
10+
//@[arm]compile-flags: --target=armv7-unknown-linux-gnueabihf --crate-type=rlib
1111
#![no_core]
1212
#![feature(
1313
no_core,

tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags:-C panic=abort
1+
//@compile-flags:-C panic=abort
22

33
#![feature(alloc_error_handler)]
44
#![no_std]

tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags:-C panic=abort
1+
//@compile-flags:-C panic=abort
22

33
#![feature(alloc_error_handler)]
44
#![no_std]

tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags:-C panic=abort
1+
//@compile-flags:-C panic=abort
22

33
#![feature(alloc_error_handler)]
44
#![no_std]

tests/ui/allocator/no_std-alloc-error-handler-custom.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// ignore-sgx no libc
55
// ignore-wasm32 no libc
66
// only-linux
7-
// compile-flags:-C panic=abort
7+
//@compile-flags:-C panic=abort
88
// aux-build:helper.rs
99

1010
#![feature(rustc_private, lang_items)]

0 commit comments

Comments
 (0)