Skip to content

Commit 39771ca

Browse files
committed
Bump ui test
1 parent 335c91c commit 39771ca

File tree

647 files changed

+4463
-1775
lines changed

Some content is hidden

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

647 files changed

+4463
-1775
lines changed

Cargo.lock

+70-52
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ ctrlc = "3.2.5"
2727
chrono = { version = "0.4.38", default-features = false }
2828
chrono-tz = "0.9"
2929
directories = "5"
30+
crossbeam = "0.8.4"
3031

3132
# Copied from `compiler/rustc/Cargo.toml`.
3233
# But only for some targets, it fails for others. Rustc configures this in its CI, but we can't
@@ -49,7 +50,7 @@ windows-sys = { version = "0.52", features = [
4950

5051
[dev-dependencies]
5152
colored = "2"
52-
ui_test = "0.21.1"
53+
ui_test = "0.26.1"
5354
rustc_version = "0.4"
5455
regex = "1.5.5"
5556
tempfile = "3"

tests/fail-dep/concurrency/apple_os_unfair_lock_assert_not_owner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ only-target-darwin
1+
//@ only-target: darwin
22

33
use std::cell::UnsafeCell;
44

tests/fail-dep/concurrency/apple_os_unfair_lock_assert_owner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ only-target-darwin
1+
//@ only-target: darwin
22

33
use std::cell::UnsafeCell;
44

tests/fail-dep/concurrency/apple_os_unfair_lock_reentrant.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ only-target-darwin
1+
//@ only-target: darwin
22

33
use std::cell::UnsafeCell;
44

tests/fail-dep/concurrency/apple_os_unfair_lock_unowned.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ only-target-darwin
1+
//@ only-target: darwin
22

33
use std::cell::UnsafeCell;
44

tests/fail-dep/concurrency/libc_pthread_cond_double_destroy.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
/// Test that destroying a pthread_cond twice fails, even without a check for number validity
45

tests/fail-dep/concurrency/libc_pthread_condattr_double_destroy.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
//@ignore-target-windows: No pthreads on Windows
2-
//@ignore-target-apple: Our macOS condattr don't have any fields so we do not notice this.
1+
// No pthreads on Windows
2+
//@ignore-target: windows
3+
// Our macOS condattr don't have any fields so we do not notice this.
4+
//@ignore-target: apple
35

46
/// Test that destroying a pthread_condattr twice fails, even without a check for number validity
57

tests/fail-dep/concurrency/libc_pthread_create_main_terminate.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23
//@error-in-other-file: the main thread terminated without waiting for all remaining threads
34

45
// Check that we terminate the program when the main thread terminates.

tests/fail-dep/concurrency/libc_pthread_create_too_few_args.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23
//~^ERROR: calling a function with more arguments than it expected
34

45
//! The thread function must have exactly one argument.

tests/fail-dep/concurrency/libc_pthread_create_too_many_args.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23
//~^ERROR: calling a function with fewer arguments than it requires
34

45
//! The thread function must have exactly one argument.

tests/fail-dep/concurrency/libc_pthread_join_detached.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
// Joining a detached thread is undefined behavior.
45

tests/fail-dep/concurrency/libc_pthread_join_joined.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
// Joining an already joined thread is undefined behavior.
45

tests/fail-dep/concurrency/libc_pthread_join_main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
// Joining the main thread is undefined behavior.
45

tests/fail-dep/concurrency/libc_pthread_join_multiple.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
// Joining the same thread from multiple threads is undefined behavior.
45

tests/fail-dep/concurrency/libc_pthread_join_self.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23
// We are making scheduler assumptions here.
34
//@compile-flags: -Zmiri-preemption-rate=0
45

tests/fail-dep/concurrency/libc_pthread_mutex_NULL_deadlock.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23
//
34
// Check that if we pass NULL attribute, then we get the default mutex type.
45

tests/fail-dep/concurrency/libc_pthread_mutex_deadlock.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23
//@error-in-other-file: deadlock
34

45
use std::cell::UnsafeCell;

tests/fail-dep/concurrency/libc_pthread_mutex_default_deadlock.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23
//
34
// Check that if we do not set the mutex type, it is the default.
45

tests/fail-dep/concurrency/libc_pthread_mutex_destroy_locked.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
fn main() {
45
unsafe {

tests/fail-dep/concurrency/libc_pthread_mutex_double_destroy.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
/// Test that destroying a pthread_mutex twice fails, even without a check for number validity
45

tests/fail-dep/concurrency/libc_pthread_mutex_move.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23
//@revisions: static_initializer init
34

45
fn main() {

tests/fail-dep/concurrency/libc_pthread_mutex_normal_deadlock.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
fn main() {
45
unsafe {

tests/fail-dep/concurrency/libc_pthread_mutex_normal_unlock_unlocked.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
fn main() {
45
unsafe {

tests/fail-dep/concurrency/libc_pthread_mutex_wrong_owner.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ignore-target-windows: No pthreads on Windows
1+
// No pthreads on Windows
2+
//@ignore-target: windows
23

34
use std::cell::UnsafeCell;
45
use std::sync::Arc;

0 commit comments

Comments
 (0)