node/test/wasi
Michael Dawson 56ccd599fe wasi: make returnOnExit true by default
Refs: https://github.com/nodejs/node/issues/46923

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: https://github.com/nodejs/node/pull/47390
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
2023-04-11 16:35:52 -04:00
..
c wasi: add wasi sock_accept stub 2023-03-01 12:37:48 -05:00
wasm wasi: add wasi sock_accept stub 2023-03-01 12:37:48 -05:00
Makefile wasi: fast calls 2022-12-08 04:22:37 +00:00
README.md doc: prepare markdown file for upcoming formatting/linting 2021-09-21 17:00:23 -07:00
test-return-on-exit.js wasi: make version non-optional 2023-04-06 17:46:58 -04:00
test-wasi-initialize-validation.js wasi: make version non-optional 2023-04-06 17:46:58 -04:00
test-wasi-not-started.js wasi: make version non-optional 2023-04-06 17:46:58 -04:00
test-wasi-options-validation.js wasi: make version non-optional 2023-04-06 17:46:58 -04:00
test-wasi-start-validation.js wasi: make version non-optional 2023-04-06 17:46:58 -04:00
test-wasi-stdio.js wasi: make version non-optional 2023-04-06 17:46:58 -04:00
test-wasi-symlinks.js wasi: make version non-optional 2023-04-06 17:46:58 -04:00
test-wasi-worker-terminate.js wasi: make version non-optional 2023-04-06 17:46:58 -04:00
test-wasi.js wasi: make returnOnExit true by default 2023-04-11 16:35:52 -04:00
testcfg.py
wasi.status test: fix wasi/test-return-on-exit on 32-bit systems 2021-03-08 05:53:04 -08:00

WASI Tests

Compile with clang and wasm32-wasi target. The clang version used must be built with wasi-libc. You can specify the location for clang and the sysroot if needed when running make:

$ make CC=/usr/local/opt/llvm/bin/clang SYSROOT=/path/to/wasi-libc/sysroot