|
|
%!s(int64=7) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| core | %!s(int64=7) %!d(string=hai) anos | |
| harness | %!s(int64=7) %!d(string=hai) anos | |
| html | %!s(int64=7) %!d(string=hai) anos | |
| js-api | %!s(int64=7) %!d(string=hai) anos | |
| LICENSE | %!s(int64=8) %!d(string=hai) anos | |
| README.md | %!s(int64=9) %!d(string=hai) anos | |
| Todo.md | %!s(int64=7) %!d(string=hai) anos | |
| build.py | %!s(int64=7) %!d(string=hai) anos | |
This directory contains the WebAssembly test suite. It is split into two directories:
core/, tests for the core semanticsjs-api/, tests for the JavaScript API.html/, tests for the JavaScript API in a DOM environment.A landing page contains a condensed version made of all these tests, converted to HTML.
A list of to-do's can be found here.
The wast tests can be converted to JavaScript, and the JavaScript tests
to HTML tests, using the build.py script. It will create a out/ directory
(checked in in this repository, to be able to use it from github pages),
containing subdirectories with expanded tests, as well as a landing page for
runnning all of them in HTML.
The HTML tests are just Web Platform Tests using the testharness.js library.
Each wast test gets its equivalent JS test, and each JS test (including wast test) gets its equivalent WPT, to be easily run in browser vendors' automation.
build.py so that the landing page is updated and all the cascading
happens.From the root of your clone of this repository:
python -m SimpleHTTPServer 8000
Then open your favorite browser and browse to http://localhost:8000/test/out.