Skip to content

Commit

Permalink
Mark tests ignored on emscripten rather than omitting
Browse files Browse the repository at this point in the history
This way they still appear in `cargo test`'s output.
  • Loading branch information
dtolnay committed Nov 25, 2019
1 parent c371563 commit 0b303c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test_suite/tests/compiletest.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[cfg(not(target_os = "emscripten"))]
#[cfg_attr(target_os = "emscripten", ignore)]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn ui() {
Expand Down
4 changes: 2 additions & 2 deletions test_suite/tests/expandtest.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#[cfg(not(target_os = "emscripten"))]
#[rustversion::attr(not(nightly), ignore)]
#[cfg_attr(target_os = "emscripten", ignore)]
#[cfg_attr(not(cargo_expand), ignore)]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn expandtest() {
macrotest::expand("tests/expand/*.rs");
Expand Down

0 comments on commit 0b303c7

Please sign in to comment.