node/test/wasi
cjihrig 896ae96a15
test: mark WASI's test-return-on-exit as flaky
Refs: https://github.com/nodejs/node/pull/36139

PR-URL: https://github.com/nodejs/node/pull/36139
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
2021-02-11 19:11:49 +01:00
..
c test: add wasi readdir() test 2020-09-17 18:57:38 +00:00
wasm test: add wasi readdir() test 2020-09-17 18:57:38 +00:00
Makefile wasi: introduce initial WASI support 2019-11-30 18:06:39 +01:00
README.md wasi: introduce initial WASI support 2019-11-30 18:06:39 +01:00
test-return-on-exit.js wasi: drop --experimental-wasm-bigint requirement 2020-10-18 20:17:43 +02:00
test-wasi-initialize-validation.js wasi: add reactor support 2020-06-29 09:52:09 -05:00
test-wasi-not-started.js wasi: drop --experimental-wasm-bigint requirement 2020-10-18 20:17:43 +02:00
test-wasi-options-validation.js wasi: allow WASI stdio to be configured 2020-05-30 04:28:02 +02:00
test-wasi-require-flag.js wasi: require CLI flag to require() wasi module 2019-12-17 06:02:04 +01:00
test-wasi-start-validation.js wasi: add reactor support 2020-06-29 09:52:09 -05:00
test-wasi-stdio.js wasi: drop --experimental-wasm-bigint requirement 2020-10-18 20:17:43 +02:00
test-wasi-symlinks.js wasi: drop --experimental-wasm-bigint requirement 2020-10-18 20:17:43 +02:00
test-wasi-worker-terminate.js wasi,worker: handle termination exception 2020-05-23 18:59:44 +02:00
test-wasi.js wasi: drop --experimental-wasm-bigint requirement 2020-10-18 20:17:43 +02:00
testcfg.py wasi: introduce initial WASI support 2019-11-30 18:06:39 +01:00
wasi.status test: mark WASI's test-return-on-exit as flaky 2021-02-11 19:11:49 +01:00

README.md

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