Fabian 03a9b89ffb rename start_eip to eip_offset_in_page and consistently mask off upper bits | hai 2 meses | |
---|---|---|
.. | ||
tests | hai 2 meses | |
readme.md | %!s(int64=4) %!d(string=hai) anos | |
run.js | %!s(int64=2) %!d(string=hai) anos |
These so-called "expect tests" test the code generation, i.e. the translation of x86 assembly to Web Assembly. Use the following workflow:
expect-tests
In order to add a new expect test:
expect-tests
Note that .asm files are translated to flat binaries, not elf files, so a .data section may be meaningless.
For more information, see https://blog.janestreet.com/testing-with-expectations/