From cf6d6050f7d1ea62c9aae54ddd345106b6e31382 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 6 Mar 2024 12:44:54 -0800 Subject: Update test directives for `wasm32-wasip1` * The WASI targets deal with the `main` symbol a bit differently than native so some `codegen` and `assembly` tests have been ignored. * All `ignore-emscripten` directives have been updated to `ignore-wasm32` to be more clear that all wasm targets are ignored and it's not just Emscripten. * Most `ignore-wasm32-bare` directives are now gone. * Some ignore directives for wasm were switched to `needs-unwind` instead. * Many `ignore-wasm32*` directives are removed as the tests work with WASI as opposed to `wasm32-unknown-unknown`. --- tests/ui/command/command-argv0.rs | 2 +- tests/ui/command/command-current-dir.rs | 2 +- tests/ui/command/command-exec.rs | 2 +- tests/ui/command/command-pre-exec.rs | 2 +- tests/ui/command/command-setgroups.rs | 2 +- tests/ui/command/issue-10626.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/ui/command') diff --git a/tests/ui/command/command-argv0.rs b/tests/ui/command/command-argv0.rs index 53649e35a89..35625c0b334 100644 --- a/tests/ui/command/command-argv0.rs +++ b/tests/ui/command/command-argv0.rs @@ -1,7 +1,7 @@ //@ run-pass //@ ignore-windows - this is a unix-specific test -//@ ignore-emscripten no processes +//@ ignore-wasm32 no processes //@ ignore-sgx no processes use std::env; use std::os::unix::process::CommandExt; diff --git a/tests/ui/command/command-current-dir.rs b/tests/ui/command/command-current-dir.rs index 7186a165a96..95c16bce6e8 100644 --- a/tests/ui/command/command-current-dir.rs +++ b/tests/ui/command/command-current-dir.rs @@ -1,5 +1,5 @@ //@ run-pass -//@ ignore-emscripten no processes +//@ ignore-wasm32 no processes //@ ignore-sgx no processes //@ ignore-fuchsia Needs directory creation privilege diff --git a/tests/ui/command/command-exec.rs b/tests/ui/command/command-exec.rs index 3cc5d0bbd3e..c97b8561410 100644 --- a/tests/ui/command/command-exec.rs +++ b/tests/ui/command/command-exec.rs @@ -2,7 +2,7 @@ #![allow(stable_features)] //@ ignore-windows - this is a unix-specific test -//@ ignore-emscripten no processes +//@ ignore-wasm32 no processes //@ ignore-sgx no processes //@ ignore-fuchsia no execvp syscall provided diff --git a/tests/ui/command/command-pre-exec.rs b/tests/ui/command/command-pre-exec.rs index 2f3483fad08..7242dea2775 100644 --- a/tests/ui/command/command-pre-exec.rs +++ b/tests/ui/command/command-pre-exec.rs @@ -2,7 +2,7 @@ #![allow(stable_features)] //@ ignore-windows - this is a unix-specific test -//@ ignore-emscripten no processes +//@ ignore-wasm32 no processes //@ ignore-sgx no processes //@ ignore-fuchsia no execvp syscall #![feature(process_exec, rustc_private)] diff --git a/tests/ui/command/command-setgroups.rs b/tests/ui/command/command-setgroups.rs index f5dbf43feb5..c940135d844 100644 --- a/tests/ui/command/command-setgroups.rs +++ b/tests/ui/command/command-setgroups.rs @@ -1,6 +1,6 @@ //@ run-pass //@ ignore-windows - this is a unix-specific test -//@ ignore-emscripten +//@ ignore-wasm32 //@ ignore-sgx //@ ignore-musl - returns dummy result for _SC_NGROUPS_MAX //@ ignore-nto - does not have `/bin/id`, expects groups to be i32 (not u32) diff --git a/tests/ui/command/issue-10626.rs b/tests/ui/command/issue-10626.rs index c63edb83700..f8dbb011513 100644 --- a/tests/ui/command/issue-10626.rs +++ b/tests/ui/command/issue-10626.rs @@ -1,5 +1,5 @@ //@ run-pass -//@ ignore-emscripten no processes +//@ ignore-wasm32 no processes //@ ignore-sgx no processes // Make sure that if a process doesn't have its stdio/stderr descriptors set up -- cgit 1.4.1-3-g733a5