afonso360 opened PR #4667 from runtest-multifunc
to main
:
:wave: Hey,
This is an in progress PR just to share my current ideas for where to take the runtest suite.
It is based on top of #4453 and rewrites a lot of the code, but I felt it would be easier to review as a separate PR.
This PR does a number of things.
- Changes the order that we run tests from per func, per target to per target, per func.
- Compiles the entire file once per target and then calls the trampolines for each run invocation
- Renames functions in runtest files, since they must now be unique.
TODO:
- Reuse trampolines based on signature
- Renames function to
User
so that they are linkable in JIT- Adds tests with
call
andcall_indirect
!TODO (for a future PR):
- Add a list of allowed CallConv's per target, so that we can test calling between different CallConv's
Last updated: Nov 22 2024 at 16:03 UTC