Commit Graph

407 Commits

Author SHA1 Message Date
Michael-F-Bryan
04709fad58 Make sure integration tests use an up-to-date build of the wasmer CLI 2023-04-21 15:13:28 +08:00
Michael-F-Bryan
9143d34b9b Added a test for WEBC files with dependencies and no commands 2023-04-19 21:57:44 +08:00
ptitSeb
7fb7c09080 Release 3.2.0 2023-04-18 16:30:03 +02:00
Johnathan Sharratt
032aeb40f8 Added missing files from last commit 2023-04-16 16:53:14 +10:00
Johnathan Sharratt
a6cde1d484 Added imports and an interop for pthreads in WASI 2023-04-16 16:35:00 +10:00
Syrus Akbary
c6c320b31b Added wasi-threads example 2023-04-14 14:31:01 -07:00
Michael-F-Bryan
eba58dffef Removed the #[ignore] from one test because there are multiple flaky python tests (#3717) 2023-04-13 23:44:24 +08:00
Johnathan Sharratt
1221222578 Merge branch 'master' into poll-fixes 2023-04-09 23:40:44 +02:00
Johnathan Sharratt
1a9e9a8b6e Merge remote-tracking branch 'origin/master' into poll-fixes 2023-04-07 21:00:58 +10:00
Syrus Akbary
c656642ef6 Ignore condvar test in macos x86_64 2023-04-07 22:55:52 -07:00
Syrus Akbary
30137e911e Reenable all commented tests 2023-04-07 22:12:45 -07:00
Syrus Akbary
01ebdc1d77 Reenabled tests in macos 2023-04-07 21:47:39 -07:00
Johnathan Sharratt
38aa0cc2a9 Made the epoll test more deterministic and added a new test for testing multi-threaded memory access 2023-04-07 18:46:52 +10:00
Johnathan Sharratt
b77d96f774 Added new snapshot tests for MIO and TOKIO 2023-04-07 10:33:13 +10:00
ptitSeb
e40c6a4177 Release 3.2.0-beta.2 2023-04-05 13:25:40 +02:00
Johnathan Sharratt
e651e3242a Fixed an issue where blocking polls were being treated as nonblocking polls
Added snapshot tests for minimodem so that reoccurance of bugs is avoided
2023-04-05 12:11:49 +10:00
ptitSeb
b2e7d2af1d [CI] More WAPM_DEV_TOKEN check for CI (#3735) 2023-04-03 13:42:28 +00:00
ptitSeb
35beca3d89 [CI] Use early exit for wasmer_init_works_1 and wasmer_init_works_2 when WAPM_DEV_TOKEN is empty (#3733)
[CI] Use early exit for wasmer_init_works_1 and wasmer_init_works_2 when WAPM_DEV_TOKEN is empty (for external contributors)
2023-04-03 09:13:35 +00:00
Christoph Herzog
9cb4bf32c9 chore: Disable failing test 2023-03-31 11:17:47 +00:00
Christoph Herzog
4afbc4b56a chore: Disable failing tests
Ignore some tests that are currently failing.

Fixing them is tracked in https://github.com/wasmerio/wasmer/issues/3717
2023-03-29 00:44:49 +02:00
Michael-F-Bryan
b6255313f5 Extract WASI-based runner code into its own module 2023-03-24 21:40:03 +08:00
Michael-F-Bryan
9ec190e232 Added a tracing filesystem and more logs 2023-03-24 21:40:02 +08:00
ptitSeb
d58d158897 Release 3.2.0-beta.1 2023-03-22 19:14:57 +01:00
Michael-F-Bryan
3c7f73bf43 Disable wasmer run-unstable integration tests on musl Linux
See #3698 for more.
2023-03-22 02:00:48 +08:00
Michael-F-Bryan
e80f845246 Rename "run2" to "run-unstable" 2023-03-22 01:36:18 +08:00
Michael-F-Bryan
ab12f1490e Ripped out the union fs stuff
The WasiRunner's filesystem now only has access to volumes from its container.

The WcgiRunner's filesystem now only has access to mapped directories.
2023-03-22 01:36:14 +08:00
Michael-F-Bryan
702972fb10 Reuse unioned_filesystem() for WCGI 2023-03-22 01:31:55 +08:00
Michael-F-Bryan
6716e14000 Added some more tests to pinpoint why the volume filesystem isn't loading 2023-03-22 01:27:14 +08:00
Michael-F-Bryan
ee3d263172 Added the webc fs to the WASI runner 2023-03-22 01:27:14 +08:00
Michael-F-Bryan
fa853475dc Add more useful logs to the WCGI server 2023-03-22 01:27:13 +08:00
Michael-F-Bryan
ac7f8e53a2 Make lint 2023-03-22 01:27:13 +08:00
Michael-F-Bryan
7a55304a44 Re-worked the logic for directory mapping 2023-03-22 01:27:12 +08:00
Michael-F-Bryan
4d53bc0b13 Implemented the logic for "wasmer run ./some/directory/" 2023-03-22 01:25:43 +08:00
Michael-F-Bryan
77e2f39afe Logs should go to stderr 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
21d1fcf1d9 Added a test for WCGI with mounted directories 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
fa53a0d589 Propagate environment variables to the WASI runner 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
ad59f5a7f3 Implemented URL downloading & caching 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
0efd37f40f Refactored the run2 tests so we recompile the wasmer CLI as necessary 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
f21b07e8e6 Wasmer run for wasm32-unknown-unknown 2023-03-22 01:25:41 +08:00
Michael-F-Bryan
c91ec45a1b Run WASI executables directly 2023-03-22 01:25:40 +08:00
Michael-F-Bryan
dd42d32fac Wired up bare WEBC commands 2023-03-22 01:23:36 +08:00
Michael-F-Bryan
ab2f65c143 Added integration tests for run2 2023-03-22 01:23:35 +08:00
Johnathan Sharratt
bdc41ec2aa Targeting environments that the snapshot tests work on 2023-03-17 11:19:07 +11:00
Johnathan Sharratt
739aa0c0e4 Snapshot tests can now work offline and are more deterministic 2023-03-17 05:10:56 +11:00
Johnathan Sharratt
34486b76bf Updated the snapshot tests with the first part of offline webc package support 2023-03-17 04:10:22 +11:00
Johnathan Sharratt
781d8616a4 Added the ability to supply ones own webc packages to wasmer 2023-03-17 03:41:19 +11:00
Johnathan Sharratt
21023a302a Added a HTTP server snapshot test 2023-03-16 22:36:45 +11:00
Johnathan Sharratt
0b8d2b1248 Added more tests for the dev files and added urandom support 2023-03-16 16:46:59 +11:00
Johnathan Sharratt
d7e21293fe Added more snapshot tests for different scenarios 2023-03-16 14:20:04 +11:00
Johnathan Sharratt
987bc4a8b0 Fixed a bug where the signals were not being properly processed 2023-03-16 13:34:18 +11:00