Skip to content

Commit b2dfeac

Browse files
rschulmanbrson
authored andcommitted
Adding ignore-emscripten to failing tests.
1 parent ad9184c commit b2dfeac

25 files changed

+27
-0
lines changed

src/test/compile-fail/allocator-dylib-is-system.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
// system allocator. Do this by linking in jemalloc and making sure that we get
1919
// an error.
2020

21+
// ignore-emscripten TODO: What "other allocator" should we use for emcc?
22+
2123
#![feature(alloc_jemalloc)]
2224

2325
extern crate allocator_dylib;

src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
// Ensure that rust dynamic libraries use jemalloc as their allocator, verifying
1717
// by linking in the system allocator here and ensuring that we get a complaint.
1818

19+
// ignore-emscripten TODO: What "other allocator" is correct for emscripten?
20+
1921
#![feature(alloc_system)]
2022

2123
extern crate allocator_dylib2;

src/test/run-fail/panic-task-name-none.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
// error-pattern:thread '<unnamed>' panicked at 'test'
12+
// ignore-emscripten Needs threads
1213

1314
use std::thread;
1415

src/test/run-fail/panic-task-name-owned.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
// error-pattern:thread 'owned name' panicked at 'test'
12+
// ignore-emscripten Needs threads.
1213

1314
use std::thread::Builder;
1415

src/test/run-fail/run-unexported-tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// compile-flags:--test
1313
// check-stdout
1414
// ignore-pretty: does not work well with `--test`
15+
// ignore-emscripten Needs threads.
1516

1617
mod m {
1718
pub fn exported() {}

src/test/run-fail/task-spawn-barefn.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
// error-pattern:Ensure that the child thread runs by panicking
12+
// ignore-emscripten Needs threads.
1213

1314
use std::thread;
1415

src/test/run-fail/test-panic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// error-pattern:thread 'test_foo' panicked at
1313
// compile-flags: --test
1414
// ignore-pretty: does not work well with `--test`
15+
// ignore-emscripten
1516

1617
#[test]
1718
fn test_foo() {

src/test/run-fail/test-should-fail-bad-message.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// error-pattern:thread 'test_foo' panicked at
1313
// compile-flags: --test
1414
// ignore-pretty: does not work well with `--test`
15+
// ignore-emscripten
1516

1617
#[test]
1718
#[should_panic(expected = "foobar")]

src/test/run-fail/test-tasks-invalid-value.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// compile-flags: --test
1616
// exec-env:RUST_TEST_THREADS=foo
1717
// ignore-pretty: does not work well with `--test`
18+
// ignore-emscripten
1819

1920
#[test]
2021
fn do_nothing() {}

src/test/run-pass/allocator-override.rs

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

1111
// no-prefer-dynamic
1212
// aux-build:allocator-dummy.rs
13+
// ignore-emscripten
1314

1415
#![feature(test)]
1516

0 commit comments

Comments
 (0)