Ignore tests that use threads on emscripten

This commit is contained in:
Pierre Krieger 2016-02-11 12:34:41 +01:00
parent 060848c315
commit ee91c25b04
82 changed files with 129 additions and 2 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -14,6 +14,7 @@
// that use capture clauses.
// pretty-expanded FIXME #23616
// ignore-emscripten no threads support
extern crate cci_capture_clause;

View File

@ -11,6 +11,7 @@
// Reported as issue #126, child leaks the string.
// pretty-expanded FIXME #23616
// ignore-emscripten no threads support
#![feature(std_misc)]

View File

@ -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)]

View File

@ -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)]

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -10,6 +10,7 @@
// ignore-windows
// ignore-android
// ignore-emscripten
#![feature(libc)]

View File

@ -9,6 +9,8 @@
// except according to those terms.
// ignore-aarch64
// ignore-emscripten no threads support
#![feature(libc)]
extern crate libc;

View File

@ -13,6 +13,7 @@
// optimisation.
// pretty-expanded FIXME #23616
// ignore-emscripten no threads support
#![feature(intrinsics, std_misc)]

View File

@ -9,6 +9,7 @@
// except according to those terms.
// compile-flags: -Z force-overflow-checks=on
// ignore-emscripten no threads support
use std::thread;

View File

@ -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.
//

View File

@ -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.

View File

@ -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)]

View File

@ -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::*`

View File

@ -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;

View File

@ -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());

View File

@ -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);

View File

@ -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

View File

@ -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;

View File

@ -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 {

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -9,6 +9,7 @@
// except according to those terms.
// pretty-expanded FIXME #23616
// ignore-emscripten no threads support
#![feature(std_misc)]

View File

@ -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;

View File

@ -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 } }

View File

@ -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;

View File

@ -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.

View File

@ -9,7 +9,7 @@
// except according to those terms.
// compile-flags: -Z no-landing-pads
// ignore-emscripten no threads support
use std::thread;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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};

View File

@ -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;

View File

@ -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)]

View File

@ -9,6 +9,7 @@
// except according to those terms.
// pretty-expanded FIXME #23616
// ignore-emscripten no threads support
#![feature(std_misc)]

View File

@ -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)]

View File

@ -10,6 +10,7 @@
// ignore-bitrig
// compile-flags: -C codegen-units=3
// ignore-emscripten no threads support
// Test unwinding through multiple compilation units.

View File

@ -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 if a slicing expr[..] fails, the correct cleanups happen.

View File

@ -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 if a slicing expr[..] fails, the correct cleanups happen.

View File

@ -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;
fn x(s: String, n: isize) {

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten no threads support
/*
Make sure we can spawn tasks that take different types of

View File

@ -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;
pub fn main() {

View File

@ -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;
pub fn main() {

View File

@ -10,6 +10,7 @@
// ignore-windows
// exec-env:RUST_LOG=debug
// ignore-emscripten no threads support
// regression test for issue #10405, make sure we don't call println! too soon.

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -9,6 +9,7 @@
// except according to those terms.
// pretty-expanded FIXME #23616
// ignore-emscripten no threads support
#![feature(std_misc)]

View File

@ -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;

View File

@ -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::sync::mpsc::{channel, Sender};

View File

@ -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::sync::mpsc::{channel, Sender};

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten no threads support
// pretty-expanded FIXME #23616
#![feature(std_misc)]

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten no threads support
// pretty-expanded FIXME #23616
#![feature(std_misc)]

View File

@ -10,6 +10,7 @@
#![feature(std_misc)]
// ignore-emscripten no threads support
// no-pretty-expanded FIXME #15189
use std::thread;

View File

@ -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(std_misc)]
#![allow(dead_assignment)]

View File

@ -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;

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten no threads support
// pretty-expanded FIXME #23616
#![feature(std_misc)]

View File

@ -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)]

View File

@ -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(box_syntax, set_stdio)]
use std::io::prelude::*;

View File

@ -12,6 +12,7 @@
// ignore-bitrig system ulimit (Too many open files)
// ignore-netbsd system ulimit (Too many open files)
// ignore-openbsd system ulimit (Too many open files)
// ignore-emscripten no threads or sockets support
use std::io::prelude::*;
use std::net::{TcpListener, TcpStream};

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten no threads support
// Issue #787
// Don't try to clean up uninitialized locals

View File

@ -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;

View File

@ -9,6 +9,7 @@
// except according to those terms.
// no-prefer-dynamic
// ignore-emscripten no threads support
static mut HIT: bool = false;

View File

@ -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(thread_local_state)]
use std::thread::{self, LocalKeyState};

View File

@ -11,6 +11,7 @@
// Tests that a heterogeneous list of existential types can be put inside an Arc
// and shared between threads as long as all types fulfill Send.
// ignore-emscripten no threads support
// ignore-pretty
#![allow(unknown_features)]

View File

@ -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)]

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten no threads support
// Make sure the destructor is run for unit-like structs.

View File

@ -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, Sender};
use std::thread;

View File

@ -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)]

View File

@ -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(rand, num_bits_bytes)]
#![feature(const_fn)]

View File

@ -10,6 +10,7 @@
// aux-build:weak-lang-items.rs
// ignore-emscripten no threads support
// pretty-expanded FIXME #23616
extern crate weak_lang_items as other;

View File

@ -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;
pub fn main() {

View File

@ -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;
pub fn main() {