node/test/wasi
Rich Trott 330f25ef82 test: prepare for consistent comma-dangle lint rule
Make changes so that tests will pass when the comma-dangle settings
applied to the rest of the code base are also applied to tests.

PR-URL: https://github.com/nodejs/node/pull/37930
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
2021-04-01 23:14:29 -07:00
..
c
wasm
Makefile
README.md
test-return-on-exit.js test: fix wasi/test-return-on-exit on 32-bit systems 2021-03-08 05:53:04 -08:00
test-wasi-initialize-validation.js
test-wasi-not-started.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-wasi-options-validation.js
test-wasi-require-flag.js
test-wasi-start-validation.js
test-wasi-stdio.js
test-wasi-symlinks.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-wasi-worker-terminate.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-wasi.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07: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