Skip to content

Commit

Permalink
Ignore threaded capture tests on WASM w/o threads
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Oct 26, 2020
1 parent db15596 commit 7c4fe00
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/test/ui/test-thread-capture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/test-thread-capture.run.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
1 change: 1 addition & 0 deletions src/test/ui/test-thread-nocapture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/test-thread-nocapture.run.stderr
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7c4fe00

Please sign in to comment.