node/test/wasi
Michael Dawson 75c1d1b66e
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-05-02 09:33:49 +02: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
test-return-on-exit.js wasi: make version non-optional 2023-04-13 16:48:52 -03:00
test-wasi-initialize-validation.js wasi: make version non-optional 2023-04-13 16:48:52 -03:00
test-wasi-not-started.js wasi: make version non-optional 2023-04-13 16:48:52 -03:00
test-wasi-options-validation.js wasi: make version non-optional 2023-04-13 16:48:52 -03:00
test-wasi-start-validation.js wasi: make version non-optional 2023-04-13 16:48:52 -03:00
test-wasi-stdio.js wasi: make version non-optional 2023-04-13 16:48:52 -03:00
test-wasi-symlinks.js wasi: make version non-optional 2023-04-13 16:48:52 -03:00
test-wasi-worker-terminate.js wasi: make version non-optional 2023-04-13 16:48:52 -03:00
test-wasi.js wasi: make returnOnExit true by default 2023-05-02 09:33:49 +02:00
testcfg.py
wasi.status

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