Mark McCaskey
6a5efcda98
Update wasi-tests
to test multiple versions of WASI
...
This change also cleans up the `wasi-test` generation a bit. It's
actually still really, really messy, but at least now it's split up
into easier to understand chunks.
There's still a lot of low-hanging fruit in terms of improving the
readibilty and maintainability of the code.
2020-03-13 15:41:50 -07:00
Syrus
62e1526037
Fixed WASI isatty
2020-02-12 23:00:30 -08:00
Ivan Enderlin
8aa49f540a
test(wasi) Update get_wasi_version
signature.
2019-12-06 14:04:30 +01:00
Mark McCaskey
180528241d
Fix merge issue in wasi tests
2019-11-21 19:31:17 -08:00
Mark McCaskey
44f2e926ac
Merge branch 'master' into compiler-tests
2019-11-21 17:24:08 -08:00
Mark McCaskey
bdeec52152
Fix imports in test; copy manual implementations of Debug
for wasi
2019-11-21 14:00:46 -08:00
Syrus
c3f93f1275
Fixed formatting
2019-11-21 13:38:22 -08:00
Syrus
aeb66ee48e
Simplify compiler test options
2019-11-21 13:36:44 -08:00
Mark McCaskey
ddccdb92b8
More fixes for CI
2019-11-21 11:30:44 -08:00
Mark McCaskey
64783423ea
Fix WASI append bug, add test
2019-11-08 11:17:04 -08:00
Mark McCaskey
3a87edc0c1
Remove special casing of stdin, stdout, and stderr in WASI FS
2019-10-22 16:40:01 -07:00
Mark McCaskey
5185f120f4
Update some from feedback, fix tests
...
format with 1.37
2019-10-02 11:25:55 -07:00
Mark McCaskey
f5803f04e1
Add comment to generated code saying that it's generated code for wasi
2019-09-11 17:41:25 -07:00
Mark McCaskey
6fe3719e8e
Add test for closing wasi preopen fd
2019-09-11 14:25:53 -07:00
Mark McCaskey
634aca8b9d
Add WASI serializing test
2019-08-28 10:50:59 -07:00
Mark McCaskey
0c45707d33
implement wasi::poll_oneoff for write on Unix-like platforms
2019-08-15 15:51:16 +09:00
Mark McCaskey
d733989657
Add wasi::poll_oneoff file read test
2019-08-15 13:13:20 +09:00
Mark McCaskey
61f1df06d1
implement wasi::path_rename
2019-08-09 15:40:04 +09:00
Mark McCaskey
d0696a0c0e
implement wasi::path_symlink test & fix readlink test
2019-08-08 16:42:27 +09:00
Mark McCaskey
ddb0b99f12
implement path_link updated unlink, fix tests, add new test
2019-08-07 16:11:38 +09:00
Mark McCaskey
6ad0be1e02
add fd_sync test
2019-08-07 12:41:35 +09:00
Mark McCaskey
6db7bd8f07
get fd_allocate test working
2019-08-05 14:01:04 +09:00
Mark McCaskey
a12d0ada1a
add wasi::fd_pread test
2019-08-01 16:38:34 +09:00
Mark McCaskey
a8a0dbed91
improve abstraction impl rm syscalls, properly finish create_dir
2019-07-19 11:47:31 -07:00
Mark McCaskey
9910527b30
further improve sandbox, rework syscalls, add tests
2019-07-18 17:14:01 -07:00
Mark McCaskey
dc19bf32b9
fmt
2019-07-17 15:47:59 -07:00
Mark McCaskey
65bc9a5203
massive fs rewrite; add virtual root, tests
2019-07-17 14:00:51 -07:00
Mark McCaskey
78702fc1a0
Merge remote-tracking branch 'origin/master' into feature/wasi-readlink
2019-07-16 13:50:56 -07:00
Mark McCaskey
cea7d5da7d
add readlink test
2019-07-16 13:49:45 -07:00
Mark McCaskey
affb9465d5
update rustfmt.toml to ignore and fmt
2019-07-15 10:43:30 -07:00
Mark McCaskey
53d7ecba2c
improve wasitest infra and fix fseek test
2019-07-15 10:36:12 -07:00
Syrus
24f1e99ead
Fixed WASI tests
2019-07-13 16:00:18 -07:00
Mark McCaskey
a608f3aad0
fix wasi test template code
2019-07-12 15:17:10 -07:00
Mark McCaskey
cbac3ed92d
finish implementation of wasi::fd_seek, fix bug in filestat
2019-07-12 15:10:16 -07:00
Mark McCaskey
5bf491857b
fix abi crates depending on compilers
2019-07-09 11:58:03 -07:00