238 Commits
Author SHA1 Message Date
tommie 35b5e2fb53 fix: memory.grow by a negative number is an error (#498)
This is to comply with e.g. wasmtime. The spec does not make it
explicit what growing by a negative number should mean. It's likely a
mistake, so let's fail.

Closes #442.
2024-08-07 12:28:25 +03:00
Volodymyr Shymanskyy 5814318ac6 Revert "fix: Makes CopyStackSlotsR use numSlots. (#489)"
This reverts commit e887a3b084.
2024-08-03 01:54:23 +03:00
tommie e887a3b084 fix: Makes CopyStackSlotsR use numSlots. (#489)
Closes #471.
2024-08-03 01:48:23 +03:00
tommie 526c1251b6 fix: Releases M3Module.memoryImport. (#490)
Fixes #462
2024-08-03 01:42:22 +03:00
tommie 2c54e3d2ab fix: Adjust number of values when handling f32 in block results. (#491)
Fixes #465.
2024-08-03 01:41:06 +03:00
Volodymyr Shymanskyy e7b7f6a500 Faster tests 2022-08-30 10:43:12 +03:00
Volodymyr Shymanskyy d47ed71c97 Revert blacklist 2022-08-29 22:12:42 +03:00
Volodymyr Shymanskyy 3443437f46 Fix build 2022-08-29 20:01:17 +03:00
Vova 767f3cc171 Add cross-arch build script 2021-12-22 16:28:34 +02:00
Volodymyr Shymanskyy 22d0211957 WASI test fixes 2021-04-23 01:45:02 +03:00
Volodymyr Shymanskyy b7d2ff21d1 Update spec tests to opam-1.1.1, enable Multi-Value tests 2021-04-22 13:03:01 +03:00
Steven Massey 7608ca25e6 Merge branch 'main' into multi-value 2021-04-21 13:44:30 -07:00
Steven Massey 555f3ee408 no message 2021-04-16 17:37:44 -07:00
Volodymyr Shymanskyy 7dd44291c7 Update run-wasi-test.py 2021-04-16 12:33:52 +03:00
Volodymyr Shymanskyy 72b0f1b342 Enable more Mal tests 2021-04-16 10:21:08 +03:00
Volodymyr Shymanskyy b6dbfa6234 Improve error reporting 2021-04-16 10:13:26 +03:00
Steven Massey 4c19660109 merge from 'multivalue' 2021-04-15 15:14:54 -07:00
Volodymyr Shymanskyy 6e23938356 Add python tests 2021-04-12 12:22:59 +03:00
Steven Massey f6390a94f2 no 64-bit slots; 2021-04-07 14:12:23 -07:00
Steven Massey 7b44ac1213 Merge branch 'main' of https://github.com/wasm3/wasm3 into main 2021-03-31 19:29:14 -07:00
Volodymyr Shymanskyy 7b1a9756b3 Update CoreMark 2021-04-01 02:59:19 +03:00
Steven Massey 2fa4a11556 tabs->spaces 2021-03-31 14:54:56 -07:00
Steven Massey a1c75493ad simple InjectFunction test 2021-03-31 14:47:15 -07:00
Steven Massey 320e04a704 InjectFunction functional 2021-03-31 13:54:27 -07:00
Steven Massey 3400422896 addding w3_InjectFunction 2021-03-30 18:17:14 -07:00
Steven Massey 2e92dec227 added extensions api header; cleanup env::retFuncTypes 2021-03-30 14:13:03 -07:00
Volodymyr Shymanskyy 0410a06bfe Update run-wasi-test.py 2021-03-20 23:17:00 +02:00
Volodymyr Shymanskyy a49ecae3dd Update tests 2021-03-20 22:38:47 +02:00
Volodymyr Shymanskyy 8d71546dd0 Update examples 2021-03-17 13:05:18 +02:00
Volodymyr Shymanskyy f9a31c8ecd Test harness: support multi-values 2021-03-17 01:53:00 +02:00
Christian Clauss cea032d625 Python: Drop EOL Py35 and fix flake8 --select=E7 issues (#214)
* Python: Fix flake8 --select=E7 issues

* Python: Fix flake8 --select=E7 issues

* Drop testing of EOLed Python 3.5
2021-03-16 00:15:49 +02:00
Brenden Schumacher dd5df82e91 Fixed typos in relation to issue #211 (#212) 2021-03-15 10:15:28 +02:00
Volodymyr Shymanskyy 3e4dd7d5f8 Trap before calling fib test 2021-03-12 00:58:09 +02:00
Volodymyr Shymanskyy 6ae7c63030 Update wasi tests 2021-03-11 22:37:36 +02:00
Volodymyr Shymanskyy a087974fc2 Update wasi tests 2021-03-11 22:20:02 +02:00
Volodymyr Shymanskyy 1962ffa33b Cleanup 2021-03-11 22:02:48 +02:00
Volodymyr Shymanskyy 6d93778f6e Restructure tests 2021-03-11 21:55:26 +02:00
Volodymyr Shymanskyy 5552888bc2 Update simple wasi test 2021-03-11 21:25:01 +02:00
Volodymyr Shymanskyy 8f612ff7fc Update tests 2021-03-11 17:14:39 +02:00
Volodymyr Shymanskyy 21b3fee33d Simplify backtrace API 2021-03-11 17:07:11 +02:00
Volodymyr Shymanskyy 1c44e6b75f Update CoreMark build 2021-03-06 00:19:16 +02:00
Volodymyr Shymanskyy 591266c1db Fix tests 2021-03-03 16:38:39 +02:00
Volodymyr Shymanskyy cdee84bd06 Add MAL (Make a Lisp) wasi test 2021-03-02 00:19:01 +02:00
Volodymyr Shymanskyy 8ecc645d50 New m3_Call* API. Remove d_m3LogOutput, USE_HUMAN_FRIENDLY_ARGS.
#41. Fix #128
2021-02-05 15:53:37 +02:00
Volodymyr Shymanskyy 86af2f7bd6 Add ability to select spec version for testing 2020-12-28 02:20:02 +02:00
Volodymyr Shymanskyy 23806d7b1f Improve remote testing (use :load-hex to load spec test binaries) 2020-05-29 18:28:44 +03:00
Volodymyr Shymanskyy fe1fb1e2f1 Unify arch names 2020-04-29 04:39:10 +03:00
Volodymyr Shymanskyy 9e132820b7 Adjust tests 2020-04-29 04:31:00 +03:00
Volodymyr Shymanskyy e4120ee67a Adjust logs 2020-04-29 04:20:35 +03:00
Colin Ihrig 207881a32c update uvwasi to version 0.0.8 (#132)
* update uvwasi to version 0.0.8

This release focuses on improving the robustness of the path
resolution and sandboxing, including support for relative
preopen paths.

Also remove the ${} around the uvwasi version, which was a
mistake. The result was that the latest master was always
installed.

* test: update wasi suite to test relative paths

This commit makes sure that both absolute and relative paths get
some test coverage.

* test: use uvwasi on alpine

Run the WASI tests on Alpine using uvwasi. This requires
installing git as well.
2020-04-26 20:19:23 +03:00