Skip to content

Commit 2e80534

Browse files
committed
[emscripten] Ignore tests
Most of these rely on spawning processes, which is not possible in Emscripten. Based on rust-lang#31623
1 parent b4c66fa commit 2e80534

33 files changed

+44
-1
lines changed

src/test/run-pass-fulldeps/linkage-visibility.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ignore-android: FIXME(#10356)
1313
// ignore-windows: std::dynamic_lib does not work on Windows well
1414
// ignore-musl
15+
// ignore-emscripten no dynamic linking
1516

1617
extern crate linkage_visibility as foo;
1718

src/test/run-pass-fulldeps/logging-enabled.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
// exec-env:RUST_LOG=logging_enabled=info
12+
// ignore-emscripten: FIXME(#31622)
1213

1314

1415
#![feature(rustc_private)]

src/test/run-pass-fulldeps/logging-separate-lines.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// ignore-windows
1212
// exec-env:RUST_LOG=debug
1313
// compile-flags:-C debug-assertions=y
14+
// ignore-emscripten: FIXME(#31622)
1415

1516
#![feature(rustc_private)]
1617

src/test/run-pass/backtrace-debuginfo.rs

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

1818
// compile-flags:-g -Cllvm-args=-enable-tail-merge=0
1919
// ignore-pretty as this critically relies on line numbers
20+
// ignore-emscripten spawning processes is not supported
2021

2122
use std::io;
2223
use std::io::prelude::*;

src/test/run-pass/backtrace.rs

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

1111
// no-pretty-expanded FIXME #15189
1212
// ignore-android FIXME #17520
13+
// ignore-emscripten spawning processes is not supported
1314
// compile-flags:-g
1415

1516
use std::env;

src/test/run-pass/command-before-exec.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
// ignore-windows - this is a unix-specific test
12+
// ignore-emscripten
1213

1314
#![feature(process_exec, libc)]
1415

src/test/run-pass/command-exec.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
// ignore-windows - this is a unix-specific test
12+
// ignore-emscripten
1213
// ignore-pretty
1314

1415
#![feature(process_exec)]

src/test/run-pass/drop-flag-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=on
12+
// ignore-emscripten
1213

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

src/test/run-pass/drop-trait-enum.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
#![allow(unknown_features)]
1214
#![feature(box_syntax)]
1315

src/test/run-pass/env-home-dir.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
1112

1213
#![feature(path)]
1314

0 commit comments

Comments
 (0)