Skip to content

Commit 11a8b3a

Browse files
committed
bless tests
1 parent bf372a8 commit 11a8b3a

File tree

65 files changed

+70
-237
lines changed

Some content is hidden

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

65 files changed

+70
-237
lines changed
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: the main thread terminated without waiting for all remaining threads
52

63
note: pass `-Zmiri-ignore-leaks` to disable this check
74

8-
error: aborting due to previous error; 1 warning emitted
5+
error: aborting due to previous error
96

tests/fail/concurrency/libc_pthread_join_detached.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join a detached or already joined thread
52
--> $DIR/libc_pthread_join_detached.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/libc_pthread_join_joined.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join a detached or already joined thread
52
--> $DIR/libc_pthread_join_joined.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/libc_pthread_join_main.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join a detached or already joined thread
52
--> $DIR/libc_pthread_join_main.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(thread_id, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/libc_pthread_join_multiple.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join a detached or already joined thread
52
--> $DIR/libc_pthread_join_multiple.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(native_copy, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/libc_pthread_join_self.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join itself
52
--> $DIR/libc_pthread_join_self.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/thread_local_static_dealloc.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: pointer to ALLOC was dereferenced after this allocation got freed
52
--> $DIR/thread_local_static_dealloc.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | let _val = *(dangling_ptr as *const u8);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/too_few_args.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: callee has fewer arguments than expected
52
--> $DIR/too_few_args.rs:LL:CC
63
|
@@ -13,5 +10,5 @@ LL | panic!()
1310
= note: inside `thread_start` at RUSTLIB/std/src/panic.rs:LL:CC
1411
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
1512

16-
error: aborting due to previous error; 1 warning emitted
13+
error: aborting due to previous error
1714

tests/fail/concurrency/too_many_args.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: callee has more arguments than expected
52
--> $DIR/too_many_args.rs:LL:CC
63
|
@@ -13,5 +10,5 @@ LL | panic!()
1310
= note: inside `thread_start` at RUSTLIB/std/src/panic.rs:LL:CC
1411
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
1512

16-
error: aborting due to previous error; 1 warning emitted
13+
error: aborting due to previous error
1714

tests/fail/concurrency/unwind_top_of_stack.stderr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
thread '<unnamed>' panicked at 'explicit panic', $DIR/unwind_top_of_stack.rs:LL:CC
52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
63
error: Undefined Behavior: unwinding past the topmost frame of the stack
@@ -16,5 +13,5 @@ LL | | }
1613

1714
= note: inside `thread_start` at $DIR/unwind_top_of_stack.rs:LL:CC
1815

19-
error: aborting due to previous error; 1 warning emitted
16+
error: aborting due to previous error
2017

0 commit comments

Comments
 (0)