Skip to content

Commit 7fc4df6

Browse files
committed
Auto merge of #31570 - tomaka:ignore-emscripten, r=brson
Ignores 82 rpass tests that use threads. I took care to only ignore tests that call `thread::spawn`. Some tests, for example `issue-16597`, also do fail because of lack of threads support, but for other reasons. With this PR, we're down to 49 failures. r? @brson
2 parents 1ab22d7 + ee91c25 commit 7fc4df6

File tree

82 files changed

+129
-2
lines changed

Some content is hidden

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

82 files changed

+129
-2
lines changed

src/test/run-pass/atomic-print.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-emscripten no threads support
12+
1113
use std::{env, fmt, process, sync, thread};
1214

1315
struct SlowFmt(u32);

src/test/run-pass/box-of-array-of-drop-1.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// Test that we cleanup a fixed size Box<[D; k]> properly when D has a
1212
// destructor.
1313

14+
// ignore-emscripten no threads support
15+
1416
#![feature(const_fn)]
1517

1618
use std::thread;

src/test/run-pass/box-of-array-of-drop-2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// Test that we cleanup dynamic sized Box<[D]> properly when D has a
1212
// destructor.
1313

14+
// ignore-emscripten no threads support
15+
1416
#![feature(const_fn)]
1517

1618
use std::thread;

src/test/run-pass/cci_capture_clause.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// that use capture clauses.
1515

1616
// pretty-expanded FIXME #23616
17+
// ignore-emscripten no threads support
1718

1819
extern crate cci_capture_clause;
1920

src/test/run-pass/child-outlives-parent.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// Reported as issue #126, child leaks the string.
1212

1313
// pretty-expanded FIXME #23616
14+
// ignore-emscripten no threads support
1415

1516
#![feature(std_misc)]
1617

src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
// It's unclear how likely such a bug is to recur, but it seems like a
2525
// scenario worth testing.
2626

27+
// ignore-emscripten no threads support
2728

2829
#![allow(unknown_features)]
2930
#![feature(box_syntax)]

src/test/run-pass/clone-with-exterior.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-emscripten no threads support
1112

1213
#![allow(unknown_features)]
1314
#![feature(box_syntax, std_misc)]

src/test/run-pass/comm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-emscripten no threads support
12+
1113
#![feature(std_misc)]
1214

1315
use std::thread;

src/test/run-pass/core-run-destroy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
// ignore-pretty
1212
// compile-flags:--test
13+
// ignore-emscripten
1314

1415
// NB: These tests kill child processes. Valgrind sees these children as leaking
1516
// memory, which makes for some *confusing* logs. That's why these are here

src/test/run-pass/drop-flag-skip-sanity-check.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// compile-flags: -Z force-dropflag-checks=off
12+
// ignore-emscripten no threads support
1213

1314
// Quick-and-dirty test to ensure -Z force-dropflag-checks=off works as
1415
// expected. Note that the inlined drop-flag is slated for removal

0 commit comments

Comments
 (0)