Use build.rs to generate test cases automatically
Now, test binaries are bundled with the repo, and just like in CraneStation/wasmtime, the test cases are generated automatically using build.rs. So all it takes is to drop a new test binary in the testsuite dir to get the test case for it generated (with some caveats to do with handling preopens).
This commit is contained in:
BIN
misc_testsuite/big_random_buf.wasm
Executable file
BIN
misc_testsuite/big_random_buf.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/clock_time_get.wasm
Executable file
BIN
misc_testsuite/clock_time_get.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/close_preopen.wasm
Executable file
BIN
misc_testsuite/close_preopen.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/directory_seek.wasm
Executable file
BIN
misc_testsuite/directory_seek.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/interesting_paths.wasm
Executable file
BIN
misc_testsuite/interesting_paths.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/isatty.wasm
Executable file
BIN
misc_testsuite/isatty.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/nofollow_errors.wasm
Executable file
BIN
misc_testsuite/nofollow_errors.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/readlink_no_buffer.wasm
Executable file
BIN
misc_testsuite/readlink_no_buffer.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/remove_nonempty_directory.wasm
Executable file
BIN
misc_testsuite/remove_nonempty_directory.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/sched_yield.wasm
Executable file
BIN
misc_testsuite/sched_yield.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/symlink_loop.wasm
Executable file
BIN
misc_testsuite/symlink_loop.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/truncation_rights.wasm
Executable file
BIN
misc_testsuite/truncation_rights.wasm
Executable file
Binary file not shown.
BIN
misc_testsuite/unlink_directory.wasm
Executable file
BIN
misc_testsuite/unlink_directory.wasm
Executable file
Binary file not shown.
Reference in New Issue
Block a user