rust/tests/ui/process
Hood Chatham 1d6643c4f6 Fix most ui tests on emscripten target
To fix the linker errors, we need to set the output extension to `.js` instead
of `.wasm`. Setting the output to a `.wasm` file puts Emscripten into standalone
mode which is effectively a distinct target. We need to set the runner to be
`node` as well.

This fixes most of the ui tests. I fixed a few more tests with simple problems:
- `intrinsics/intrinsic-alignment.rs` and `structs-enums/rec-align-u64.rs` --
Two `#[cfg]` macros match for Emscripten so we got a duplicate definition of
`mod m`.
- `issues/issue-12699.rs` -- Seems to hang so I disabled it
- `process/process-sigpipe.rs` -- Not expected to work on Emscripten so I
disabled it
2024-10-15 14:25:55 +02:00
..
core-run-destroy.rs
env-args-reverse-iterator.rs
env-funky-keys.rs
env-null-vars.rs
env-vars.rs
exec-env.rs
fds-are-cloexec.rs
inherit-env.rs
issue-13304.rs
issue-14456.rs
issue-14940.rs
issue-16272.rs
issue-20091.rs
issue-30490.rs
multi-panic.rs
no-stdio.rs
nofile-limit.rs
println-with-broken-pipe.rs
println-with-broken-pipe.run.stderr
println-with-broken-pipe.run.stdout
process-envs.rs
process-exit.rs
process-panic-after-fork.rs
process-remove-from-env.rs
process-sigpipe.rs
process-spawn-nonexistent.rs
process-spawn-with-unicode-params.rs
process-status-inherits-stdin.rs
signal-exit-status.rs
sigpipe-should-be-ignored.rs
tls-exit-status.rs
try-wait.rs