]> git.proxmox.com Git - wasi-libc.git/commit
test: run a subset of tests using `libc-test` (#346)
authorAndrew Brown <andrew.brown@intel.com>
Sat, 3 Dec 2022 02:27:42 +0000 (18:27 -0800)
committerGitHub <noreply@github.com>
Sat, 3 Dec 2022 02:27:42 +0000 (18:27 -0800)
commit8098d8621ef6eeaa27f71bc4a0efb9dd51ea8f5e
tree1a30e0c83a76015b73a246a0c12070298dd76223
parentbe1ffd6a9eba1704085987482557c2a32724227f
test: run a subset of tests using `libc-test` (#346)

* test: run a subset of tests from `libc-test`

This change introduces a `test` directory that retrieves the `libc-test`
suite, compiles a subset of the tests using `wasi-libc`, and runs them
with Wasmtime.

* ci: run tests during CI

This change includes some fixups to the filesystem to place Clang's
runtime library for `wasm32-wasi` in the right location. Note that this
CI action is limited to a single OS--Linux.
.github/workflows/main.yml
Makefile
test/.gitignore [new file with mode: 0644]
test/Makefile [new file with mode: 0644]
test/README.md [new file with mode: 0644]