0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test/wasi
cjihrig da66054e5d test: improve wasi stat test
This commit improved the stat test a bit by verifying that
S_ISDIR() works properly. It also adds missing coverage for
__wasi_path_remove_directory().

PR-URL: https://github.com/nodejs/node/pull/31413
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-01-21 13:23:54 -08:00
..
c test: improve wasi stat test 2020-01-21 13:23:54 -08:00
wasm test: improve wasi stat test 2020-01-21 13:23:54 -08:00
Makefile
README.md
test-wasi-options-validation.js wasi: throw on failed uvwasi_init() 2019-12-25 22:27:11 -05: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 doc,lib,src,test: rename WASI CLI flag 2019-12-17 17:35:12 -08:00
test-wasi-symlinks.js test: add wasi test for symlink() and readlink() 2020-01-20 11:02:47 -05:00
test-wasi.js doc,lib,src,test: rename WASI CLI flag 2019-12-17 17:35:12 -08: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