[emscripten] Ignore tests

Most of these rely on spawning processes, which is not possible in
Emscripten.
This commit is contained in:
Jan-Erik Rediger 2016-08-09 01:39:37 +02:00
parent 5dac93d59c
commit ad91873cb6
39 changed files with 53 additions and 1 deletions

View File

@ -12,6 +12,7 @@
// ignore-android: FIXME(#10356)
// ignore-windows: std::dynamic_lib does not work on Windows well
// ignore-musl
// ignore-emscripten no dynamic linking
extern crate linkage_visibility as foo;

View File

@ -9,6 +9,7 @@
// except according to those terms.
// exec-env:RUST_LOG=logging_enabled=info
// ignore-emscripten: FIXME(#31622)
#![feature(rustc_private)]

View File

@ -11,6 +11,7 @@
// ignore-windows
// exec-env:RUST_LOG=debug
// compile-flags:-C debug-assertions=y
// ignore-emscripten: FIXME(#31622)
#![feature(rustc_private)]

View File

@ -17,6 +17,7 @@
// compile-flags:-g -Cllvm-args=-enable-tail-merge=0
// ignore-pretty as this critically relies on line numbers
// ignore-emscripten spawning processes is not supported
use std::io;
use std::io::prelude::*;

View File

@ -10,6 +10,7 @@
// no-pretty-expanded FIXME #15189
// ignore-android FIXME #17520
// ignore-emscripten spawning processes is not supported
// compile-flags:-g
use std::env;

View File

@ -9,6 +9,7 @@
// except according to those terms.
// ignore-windows - this is a unix-specific test
// ignore-emscripten
#![feature(process_exec, libc)]

View File

@ -9,6 +9,7 @@
// except according to those terms.
// ignore-windows - this is a unix-specific test
// ignore-emscripten
// ignore-pretty
#![feature(process_exec)]

View File

@ -9,6 +9,7 @@
// except according to those terms.
// compile-flags: -Z force-dropflag-checks=on
// ignore-emscripten
// Quick-and-dirty test to ensure -Z force-dropflag-checks=on 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
#![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
use std::env::args;
use std::process::Command;

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
#![feature(path)]

View File

@ -9,7 +9,7 @@
// except according to those terms.
// exec-env:TEST_EXEC_ENV=22
// ignore-emscripten FIXME: issue #31622
use std::env;

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten No support for threads
#![allow(unknown_features)]
#![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
// Make sure that if a process doesn't have its stdio/stderr descriptors set up
// that we don't die in a large ball of fire

View File

@ -12,6 +12,7 @@
// aux-build:issue-12133-dylib.rs
// aux-build:issue-12133-dylib2.rs
// ignore-musl
// ignore-emscripten no dylib support
// pretty-expanded FIXME #23616

View File

@ -9,6 +9,7 @@
// except according to those terms.
// ignore-aarch64
// ignore-emscripten
#![feature(io, process_capture)]
use std::env;

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
#![feature(io, process_capture)]

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
use std::env;
use std::process::Command;

View File

@ -9,6 +9,7 @@
// except according to those terms.
// ignore-aarch64
// ignore-emscripten
use std::process::Command;
use std::env;

View File

@ -9,6 +9,7 @@
// except according to those terms.
// ignore-aarch64
// ignore-emscripten
#![feature(std_misc, os)]
#[cfg(unix)]

View File

@ -9,6 +9,7 @@
// except according to those terms.
// pretty-expanded FIXME #23616
// ignore-emscripten
use std::thread::Builder;

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
use std::thread;
use std::env;
use std::process::Command;

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
// compile-flags: -Z orbit=off
// (blows the stack with MIR trans and no optimizations)

View File

@ -9,6 +9,7 @@
// except according to those terms.
// aux-build:issue-29485.rs
// ignore-emscripten
#[feature(recover)]

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
// Previously libstd would set stdio descriptors of a child process
// by `dup`ing the requested descriptors to inherit directly into the
// stdio descriptors. This, however, would incorrectly handle cases

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
use std::process::{Command, Stdio};
use std::env;
use std::sync::{Mutex, RwLock};

View File

@ -10,6 +10,7 @@
// ignore-windows
// ignore-macos
// ignore-emscripten
// aux-build:linkage1.rs
#![feature(linkage)]

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
fn check_for_no_backtrace(test: std::process::Output) {
assert!(!test.status.success());
let err = String::from_utf8_lossy(&test.stderr);

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
#![feature(libc)]
extern crate libc;

View File

@ -7,6 +7,9 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten no threads support
#![feature(panic_handler, const_fn, std_panic)]
use std::sync::atomic::{AtomicUsize, Ordering};

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
use std::env;
use std::process::{self, Command, Stdio};

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
use std::process::Command;
use std::env;

View File

@ -17,6 +17,7 @@
// intact.
// ignore-aarch64
// ignore-emscripten
use std::io::prelude::*;
use std::io;

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
#![feature(start)]
use std::ffi::CStr;

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten can't run commands
#![feature(libc)]
extern crate libc;

View File

@ -9,6 +9,7 @@
// except according to those terms.
// ignore-windows
// ignore-emscripten
use std::env;
use std::process::Command;

View File

@ -12,6 +12,7 @@
// doesn't die in a ball of fire, but rather it's gracefully handled.
// ignore-aarch64
// ignore-emscripten
use std::env;
use std::io::prelude::*;

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::{self, sleep};
use std::time::Duration;
use std::sync::{Arc, Mutex};

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-emscripten
#![feature(libc)]