Testing support for IREE's web platform port:
ctest
into the format expected by the HTML/JS test suite runnerinstall
target with CMake)emsdk_env.bat
)bash ./build_sample.sh [path to install] && bash ./serve_sample.sh
.js
and a .wasm
fileModule
object and importing the .js
test-runner.html
webpage runs an individual test, based on URL parametersctest --show-only=json-v1
outputs a JSON file enumerating all tests and their properties (working directory, required files, arguments, etc.). The parse_test_list.py
script parses this file into a list of HTML elements linking to the test runner webpage with properties setindex_template.html
webpage absorbs that list of hyperlinks and runs them in an <iframe>