mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
b3c13c3e8a
This only tests "can it be parsed", but the goal of this commit is to provide a test framework that can be built upon :) The conformance tests are downloaded, compiled* and installed only if the INCLUDE_WASM_SPEC_TESTS cmake option is enabled. (*) Since we do not yet have a wast parser, the compilation is delegated to an external tool from binaryen, `wasm-as`, which is required for the test suite download/install to succeed. This *does* run the tests in CI, but it currently does not include the spec conformance tests.
2 lines
110 B
CMake
2 lines
110 B
CMake
serenity_testjs_test(test-wasm.cpp test-wasm LIBS LibWasm)
|
|
install(TARGETS test-wasm RUNTIME DESTINATION bin)
|