diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-12-10 12:23:36 -0700 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-12-14 20:29:43 +0330 |
commit | 733a318709c7ba59cc025b12cad1ddb1378cba5a (patch) | |
tree | 88ee0065d65ab48ecc6fd3b19cdc97a8c330ff87 /Userland | |
parent | ab49dbf1374e436f19f2f8b4c3f193bbb67809d4 (diff) | |
download | serenity-733a318709c7ba59cc025b12cad1ddb1378cba5a.zip |
Meta+CMake: Extract Wasm spec tests into the binary directory
Clean up the Wasm spec tests CMake rules to extract and compile the wat
files into wasm files in the LibWasm binary directory instead of its
source directory. Also make the rules more robust to missing host tools,
and use more CMake install rules for the test files rather than relying
on build-root-filesystem.sh. Add some FIXMEs for later, we really
shouldn't be doing installation of test files into /home/anon at the
build-root-filesystem stage in $CURRENT_YEAR. Tests go in /usr/Tests
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWasm/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWasm/CMakeLists.txt b/Userland/Libraries/LibWasm/CMakeLists.txt index cb004515cd..f86cbe7e00 100644 --- a/Userland/Libraries/LibWasm/CMakeLists.txt +++ b/Userland/Libraries/LibWasm/CMakeLists.txt @@ -9,3 +9,7 @@ set(SOURCES serenity_lib(LibWasm wasm) target_link_libraries(LibWasm PRIVATE LibCore) + +# FIXME: Install these into usr/Tests/LibWasm +include(wasm_spec_tests) +install(DIRECTORY Tests/ DESTINATION home/anon/Tests/wasm-tests) |