mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
[emscripten] Ignore tests
Most of these rely on spawning processes, which is not possible in Emscripten.
This commit is contained in:
parent
5dac93d59c
commit
ad91873cb6
@ -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;
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// exec-env:RUST_LOG=logging_enabled=info
|
||||
// ignore-emscripten: FIXME(#31622)
|
||||
|
||||
|
||||
#![feature(rustc_private)]
|
||||
|
@ -11,6 +11,7 @@
|
||||
// ignore-windows
|
||||
// exec-env:RUST_LOG=debug
|
||||
// compile-flags:-C debug-assertions=y
|
||||
// ignore-emscripten: FIXME(#31622)
|
||||
|
||||
#![feature(rustc_private)]
|
||||
|
||||
|
@ -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::*;
|
||||
|
@ -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;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-windows - this is a unix-specific test
|
||||
// ignore-emscripten
|
||||
|
||||
#![feature(process_exec, libc)]
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-windows - this is a unix-specific test
|
||||
// ignore-emscripten
|
||||
// ignore-pretty
|
||||
|
||||
#![feature(process_exec)]
|
||||
|
@ -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
|
||||
|
@ -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)]
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten
|
||||
|
||||
#![feature(path)]
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// exec-env:TEST_EXEC_ENV=22
|
||||
|
||||
// ignore-emscripten FIXME: issue #31622
|
||||
|
||||
use std::env;
|
||||
|
||||
|
@ -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)]
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-aarch64
|
||||
// ignore-emscripten
|
||||
#![feature(io, process_capture)]
|
||||
|
||||
use std::env;
|
||||
|
@ -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)]
|
||||
|
||||
|
@ -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;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-aarch64
|
||||
// ignore-emscripten
|
||||
|
||||
use std::process::Command;
|
||||
use std::env;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-aarch64
|
||||
// ignore-emscripten
|
||||
#![feature(std_misc, os)]
|
||||
|
||||
#[cfg(unix)]
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
// ignore-emscripten
|
||||
|
||||
use std::thread::Builder;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// aux-build:issue-29485.rs
|
||||
// ignore-emscripten
|
||||
|
||||
#[feature(recover)]
|
||||
|
||||
|
@ -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
|
||||
|
@ -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};
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// ignore-windows
|
||||
// ignore-macos
|
||||
// ignore-emscripten
|
||||
// aux-build:linkage1.rs
|
||||
|
||||
#![feature(linkage)]
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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};
|
||||
|
@ -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};
|
||||
|
||||
|
@ -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;
|
||||
|
@ -17,6 +17,7 @@
|
||||
// intact.
|
||||
|
||||
// ignore-aarch64
|
||||
// ignore-emscripten
|
||||
|
||||
use std::io::prelude::*;
|
||||
use std::io;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-windows
|
||||
// ignore-emscripten
|
||||
|
||||
use std::env;
|
||||
use std::process::Command;
|
||||
|
@ -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::*;
|
||||
|
@ -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};
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten
|
||||
|
||||
#![feature(libc)]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user