summaryrefslogtreecommitdiff
path: root/std/wasi/snapshot_preview1_test.ts
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-06BREAKING(std/wasi): return exit code from start (#9022)Casper Beyer
This returns the exit code directly from the start entry point instead of throwing it and letting the user handle it. As a result the exit status is an implementation detail and has been made internal.
2021-01-05feat(std/wasi): allow stdio resources to be specified (#8999)Casper Beyer
2020-12-10fix(std/wasi): disallow multiple starts (#8712)Casper Beyer
2020-12-10test(std/wasi): run test runner with --no-check (#8710)Casper Beyer
2020-12-03feat(std/wasi): add return on exit option (#8605)Casper Beyer
This adds an exitOnReturn option to context making it possible to unwind the stack on the exit(2) syscall instead of delegating to it directly. Use case is being able to treat WASI execution contexts as children that don't kill the parent on exit.
2020-12-03feat(std/wasi): add support for initializing reactors (#8603)Casper Beyer
This adds another entry point to Context called initialize for spinning up style modules. Reactors are modules that don't have a main function and basically run forever in the background.
2020-11-02feat(std/wasi): add start method to Context (#8141)Casper Beyer
This adds a start method to the Context to make starting a command less tedious and yield consistent errors. Manually setting the memory is still valid for more complex scenarios, just undocumented for the time being.
2020-10-26test(std/wasi): re-enable clock_time_get tests (#8098)Casper Beyer
This brings in revised tests for clock_time_get from upstream and re-enables them. This revision of these tests allow for lower precision clocks (we only provide millisecond precision, and that is conformant but previous tests for this in the upstream test suite were a bit more aggressive).
2020-10-24fix(std/wasi): disallow path_open outside of pre-opened dirfd (#8078)Casper Beyer
2020-10-20test(std/wasi): reduce test duplication (#8053)Casper Beyer
This fast-forwards wasi-test-suite a couple of commits removed duplicate, or near duplicate tests with not much additional value. Other tests have been merged to reduce the number of modules to make tests topical to the syscall that is being tested.
2020-09-21test(std/wasi): add fd_renumber test (#7574)Casper Beyer
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-16test(std/wasi): add sched_yield test (#7511)Casper Beyer
2020-09-04test(std/wasi): explicitly list modules for deterministic test runs (#7245)Casper Beyer
This explicitly lists std/wasi test modules in a pre-sorted array for deterministic test runs. As a side effect it makes it a bit more visible when a test has been added or removed aside from having to look at the submodule update.
2020-09-04chore(std/wasi): enable and fix lint errors in tests (#7324)Casper Beyer
2020-08-27test(std/wasi): seperate test runner into a module (#7191)Casper Beyer
2020-08-25test(std/wasi): add wasi-testsuite as a submodule (#7042)Casper Beyer
2020-08-24BREAKING(std/wasi): rename Module to Context (#7110)Casper Beyer
This commit renames Module and ModuleOptions to context to avoid stutter confusion, e.g avoid having documentation that says things like instantiate the snapshot's module's module.
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-06-26test(std/wasi): add read, write and metadata tests (#6494)Casper Beyer
2020-06-26test(wasi/std): remove v8 flags from test runner (#6496)Casper Beyer
2020-06-24feat(std/wasi): add wasi_snapshot_preview1 (#6441)Casper Beyer
2019-10-09remove std submoduleRyan Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std