Skip to content

Ignore tests that use threads on emscripten #31570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/test/run-pass/atomic-print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

use std::{env, fmt, process, sync, thread};

struct SlowFmt(u32);
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/box-of-array-of-drop-1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// Test that we cleanup a fixed size Box<[D; k]> properly when D has a
// destructor.

// ignore-emscripten no threads support

#![feature(const_fn)]

use std::thread;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/box-of-array-of-drop-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// Test that we cleanup dynamic sized Box<[D]> properly when D has a
// destructor.

// ignore-emscripten no threads support

#![feature(const_fn)]

use std::thread;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/cci_capture_clause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// that use capture clauses.

// pretty-expanded FIXME #23616
// ignore-emscripten no threads support

extern crate cci_capture_clause;

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/child-outlives-parent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// Reported as issue #126, child leaks the string.

// pretty-expanded FIXME #23616
// ignore-emscripten no threads support

#![feature(std_misc)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
// It's unclear how likely such a bug is to recur, but it seems like a
// scenario worth testing.

// ignore-emscripten no threads support

#![allow(unknown_features)]
#![feature(box_syntax)]
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/clone-with-exterior.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![allow(unknown_features)]
#![feature(box_syntax, std_misc)]
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/comm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![feature(std_misc)]

use std::thread;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/core-run-destroy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// ignore-pretty
// compile-flags:--test
// ignore-emscripten

// NB: These tests kill child processes. Valgrind sees these children as leaking
// memory, which makes for some *confusing* logs. That's why these are here
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/drop-flag-skip-sanity-check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

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

// Quick-and-dirty test to ensure -Z force-dropflag-checks=off works as
// expected. Note that the inlined drop-flag is slated for removal
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/extern-call-deep2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![feature(libc)]

extern crate libc;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/extern-call-scrub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// make sure the stack pointers are maintained properly in both
// directions

// ignore-emscripten no threads support

#![feature(libc, std_misc)]

extern crate libc;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/fds-are-cloexec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// ignore-windows
// ignore-android
// ignore-emscripten

#![feature(libc)]

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/foreign-call-no-runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// except according to those terms.

// ignore-aarch64
// ignore-emscripten no threads support

#![feature(libc)]

extern crate libc;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/init-large-type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// optimisation.

// pretty-expanded FIXME #23616
// ignore-emscripten no threads support

#![feature(intrinsics, std_misc)]

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/int-abs-overflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// compile-flags: -Z force-overflow-checks=on
// ignore-emscripten no threads support

use std::thread;

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/intrinsic-move-val-cleanups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

// This test is checking that the move_val_init intrinsic is
// respecting cleanups for both of its argument expressions.
//
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-13494.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

// This test may not always fail, but it can be flaky if the race it used to
// expose is still present.

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/issue-16560.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![feature(unboxed_closures)]

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-16671.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// DON'T REENABLE THIS UNLESS YOU'VE ACTUALLY FIXED THE UNDERLYING ISSUE
// ignore-android seems to block forever

// ignore-emscripten no threads support

#![forbid(warnings)]

// Pretty printing tests complain about `use std::predule::*`
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-21291.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

// Regression test for unwrapping the result of `join`, issue #21291

use std::thread;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-22864-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

pub fn main() {
let f = || || 0;
std::thread::spawn(f());
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-25089.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

use std::thread;

struct Foo(i32);
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-26655.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![feature(const_fn)]

// Check that the destructors of simple enums are run on unwinding
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-29488.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

use std::thread;

struct Foo;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-30018-panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// spawned thread to isolate the expected error result from the
// SIGTRAP injected by the drop-flag consistency checking.

// ignore-emscripten no threads support

struct Foo;

impl Drop for Foo {
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-4446.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

use std::sync::mpsc::channel;
use std::thread;

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/issue-4448.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

use std::sync::mpsc::channel;
use std::thread;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-8460.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![feature(zero_one)]

use std::num::Zero;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-8827.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![feature(std_misc)]

use std::thread;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-9396.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

use std::sync::mpsc::{TryRecvError, channel};
use std::thread;

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/ivec-tag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// pretty-expanded FIXME #23616
// ignore-emscripten no threads support

#![feature(std_misc)]

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/logging-only-prints-once.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// ignore-windows
// ignore-emscripten no threads support
// exec-env:RUST_LOG=debug

use std::cell::Cell;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/macro-with-braces-in-expr-position.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

use std::thread;

macro_rules! expr { ($e: expr) => { $e } }
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/moves-based-on-type-capture-clause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![feature(std_misc)]

use std::thread;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/nested-vec-3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

// Test that using the `vec!` macro nested within itself works when
// the contents implement Drop and we hit a panic in the middle of
// construction.
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass/no-landing-pads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// compile-flags: -Z no-landing-pads

// ignore-emscripten no threads support

use std::thread;

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/panic-handler-flail-wildly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// except according to those terms.
#![feature(panic_handler, std_panic)]

// ignore-emscripten no threads support

use std::panic;
use std::thread;

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/panic-handler-set-twice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// except according to those terms.
#![feature(panic_handler, const_fn, std_panic)]

// ignore-emscripten no threads support

use std::sync::atomic::{AtomicUsize, Ordering};
use std::panic;
use std::thread;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/panic-in-dtor-drops-fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

use std::thread;

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/panic-recover-propagate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

#![feature(std_panic, recover, panic_propagate, panic_handler, const_fn)]

use std::sync::atomic::{AtomicUsize, Ordering};
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/process-sigpipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
// (instead of running forever), and that it does not print an error
// message about a broken pipe.

// ignore-emscripten no threads support

use std::process;
use std::thread;

Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass/rust-log-filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// exec-env:RUST_LOG=rust_log_filter/foo

// ignore-emscripten no threads support

#![allow(unknown_features)]
#![feature(box_syntax, std_misc, rustc_private)]
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/send-resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// pretty-expanded FIXME #23616
// ignore-emscripten no threads support

#![feature(std_misc)]

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/sendfn-spawn-with-fn-arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-emscripten no threads support

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

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/sepcomp-unwind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// ignore-bitrig
// compile-flags: -C codegen-units=3
// ignore-emscripten no threads support

// Test unwinding through multiple compilation units.

Expand Down
Loading