Skip to content

Commit 0b303c7

Browse files
committed
Mark tests ignored on emscripten rather than omitting
This way they still appear in `cargo test`'s output.
1 parent c371563 commit 0b303c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test_suite/tests/compiletest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#[cfg(not(target_os = "emscripten"))]
1+
#[cfg_attr(target_os = "emscripten", ignore)]
22
#[rustversion::attr(not(nightly), ignore)]
33
#[test]
44
fn ui() {

test_suite/tests/expandtest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#[cfg(not(target_os = "emscripten"))]
2-
#[rustversion::attr(not(nightly), ignore)]
1+
#[cfg_attr(target_os = "emscripten", ignore)]
32
#[cfg_attr(not(cargo_expand), ignore)]
3+
#[rustversion::attr(not(nightly), ignore)]
44
#[test]
55
fn expandtest() {
66
macrotest::expand("tests/expand/*.rs");

0 commit comments

Comments
 (0)