diff options
| author | Ross Schulman <ross@rbs.io> | 2016-09-05 20:00:09 -0400 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2016-09-30 14:02:44 -0700 |
| commit | b2dfeac6907ab63a3261cfa66c04db239d138433 (patch) | |
| tree | e2ebbfed0f4d4917ac7849b394b6a6fec30d529d /src/test/run-fail | |
| parent | ad9184c9bfd47e1be43726c7f68fa8a4f879cb94 (diff) | |
| download | rust-b2dfeac6907ab63a3261cfa66c04db239d138433.tar.gz rust-b2dfeac6907ab63a3261cfa66c04db239d138433.zip | |
Adding ignore-emscripten to failing tests.
Diffstat (limited to 'src/test/run-fail')
| -rw-r--r-- | src/test/run-fail/panic-task-name-none.rs | 1 | ||||
| -rw-r--r-- | src/test/run-fail/panic-task-name-owned.rs | 1 | ||||
| -rw-r--r-- | src/test/run-fail/run-unexported-tests.rs | 1 | ||||
| -rw-r--r-- | src/test/run-fail/task-spawn-barefn.rs | 1 | ||||
| -rw-r--r-- | src/test/run-fail/test-panic.rs | 1 | ||||
| -rw-r--r-- | src/test/run-fail/test-should-fail-bad-message.rs | 1 | ||||
| -rw-r--r-- | src/test/run-fail/test-tasks-invalid-value.rs | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/src/test/run-fail/panic-task-name-none.rs b/src/test/run-fail/panic-task-name-none.rs index ab505038305..36e2a4b86aa 100644 --- a/src/test/run-fail/panic-task-name-none.rs +++ b/src/test/run-fail/panic-task-name-none.rs @@ -9,6 +9,7 @@ // except according to those terms. // error-pattern:thread '<unnamed>' panicked at 'test' +// ignore-emscripten Needs threads use std::thread; diff --git a/src/test/run-fail/panic-task-name-owned.rs b/src/test/run-fail/panic-task-name-owned.rs index 2d2371f5ce7..4da40c3158b 100644 --- a/src/test/run-fail/panic-task-name-owned.rs +++ b/src/test/run-fail/panic-task-name-owned.rs @@ -9,6 +9,7 @@ // except according to those terms. // error-pattern:thread 'owned name' panicked at 'test' +// ignore-emscripten Needs threads. use std::thread::Builder; diff --git a/src/test/run-fail/run-unexported-tests.rs b/src/test/run-fail/run-unexported-tests.rs index 8158333ade8..bc7b3540d1e 100644 --- a/src/test/run-fail/run-unexported-tests.rs +++ b/src/test/run-fail/run-unexported-tests.rs @@ -12,6 +12,7 @@ // compile-flags:--test // check-stdout // ignore-pretty: does not work well with `--test` +// ignore-emscripten Needs threads. mod m { pub fn exported() {} diff --git a/src/test/run-fail/task-spawn-barefn.rs b/src/test/run-fail/task-spawn-barefn.rs index ede055acd61..108430848b9 100644 --- a/src/test/run-fail/task-spawn-barefn.rs +++ b/src/test/run-fail/task-spawn-barefn.rs @@ -9,6 +9,7 @@ // except according to those terms. // error-pattern:Ensure that the child thread runs by panicking +// ignore-emscripten Needs threads. use std::thread; diff --git a/src/test/run-fail/test-panic.rs b/src/test/run-fail/test-panic.rs index fa360570253..070095534a4 100644 --- a/src/test/run-fail/test-panic.rs +++ b/src/test/run-fail/test-panic.rs @@ -12,6 +12,7 @@ // error-pattern:thread 'test_foo' panicked at // compile-flags: --test // ignore-pretty: does not work well with `--test` +// ignore-emscripten #[test] fn test_foo() { diff --git a/src/test/run-fail/test-should-fail-bad-message.rs b/src/test/run-fail/test-should-fail-bad-message.rs index e18c5d9631a..bd25df3dabd 100644 --- a/src/test/run-fail/test-should-fail-bad-message.rs +++ b/src/test/run-fail/test-should-fail-bad-message.rs @@ -12,6 +12,7 @@ // error-pattern:thread 'test_foo' panicked at // compile-flags: --test // ignore-pretty: does not work well with `--test` +// ignore-emscripten #[test] #[should_panic(expected = "foobar")] diff --git a/src/test/run-fail/test-tasks-invalid-value.rs b/src/test/run-fail/test-tasks-invalid-value.rs index 94ed641c79c..b5c222764d2 100644 --- a/src/test/run-fail/test-tasks-invalid-value.rs +++ b/src/test/run-fail/test-tasks-invalid-value.rs @@ -15,6 +15,7 @@ // compile-flags: --test // exec-env:RUST_TEST_THREADS=foo // ignore-pretty: does not work well with `--test` +// ignore-emscripten #[test] fn do_nothing() {} |
