Ignore threaded capture tests on WASM w/o threads

This commit is contained in:
Sergio Benitez 2020-10-26 13:36:33 -07:00
parent db15596c57
commit 7c4fe00213
4 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@
// run-flags: --test-threads=1
// check-run-results
// exec-env:RUST_BACKTRACE=0
// ignore-emscripten no threads support
#[test]
fn thready_pass() {

View File

@ -10,7 +10,7 @@ fee
fie
foe
fum
thread 'main' panicked at 'explicit panic', $DIR/test-thread-capture.rs:29:5
thread 'main' panicked at 'explicit panic', $DIR/test-thread-capture.rs:30:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

View File

@ -3,6 +3,7 @@
// run-flags: --test-threads=1 --nocapture
// check-run-results
// exec-env:RUST_BACKTRACE=0
// ignore-emscripten no threads support
#[test]
fn thready_pass() {

View File

@ -1,2 +1,2 @@
thread 'main' panicked at 'explicit panic', $DIR/test-thread-nocapture.rs:29:5
thread 'main' panicked at 'explicit panic', $DIR/test-thread-nocapture.rs:30:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace