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 Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
env-args-reverse-iterator.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
env-funky-keys.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
env-null-vars.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
env-vars.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
exec-env.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
fds-are-cloexec.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
inherit-env.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
issue-13304.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
issue-14456.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
issue-14940.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
issue-16272.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
issue-20091.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
issue-30490.rs Move tests 2024-03-03 16:30:48 -03:00
multi-panic.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
no-stdio.rs Handle a few more simple tests 2024-05-20 11:13:10 -04:00
nofile-limit.rs
println-with-broken-pipe.rs Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
println-with-broken-pipe.run.stderr Bless tests 2024-08-02 11:34:54 +00:00
println-with-broken-pipe.run.stdout
process-envs.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
process-exit.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
process-panic-after-fork.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
process-remove-from-env.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
process-sigpipe.rs Fix most ui tests on emscripten target 2024-10-15 14:25:55 +02:00
process-spawn-nonexistent.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
process-spawn-with-unicode-params.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
process-status-inherits-stdin.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
signal-exit-status.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
sigpipe-should-be-ignored.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
tls-exit-status.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
try-wait.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00