repi / wasi-test

Runtime Agnostic WebAssembly System Interface Test Suite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebAssembly System Interface Test Suite

This repository contains a runtime agnostic test suite for the WebAssembly System Interface.

The tests are written as standalone WebAssembly command modules compiled against a specific snapshot of the ABI.

Failure of a test is typically signaled by assertions but may also come from post conditions specified in the test configuration which is a JSON object contained at the top of the source code of a test case.

Prerequisites

  • Python (optional)
  • Rust

Building

To build all the tests run the following command:

cargo build --wasm32-wasi

Testing

To run a compatability check on all the tests run the following command:

python compat.py
ezoic increase your site revenue

About

Runtime Agnostic WebAssembly System Interface Test Suite

License:MIT License


Languages

Language:Rust 75.4%Language:Python 24.6%