mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
This allows us to get rid of the annoying Build/.../Lagom directory and helps to deduplicate a bunch of logic while also drastically simplifying everything.
11 lines
403 B
CMake
11 lines
403 B
CMake
add_executable(test-wasm test-wasm.cpp)
|
|
target_link_libraries(test-wasm AK LibCore LibFileSystem JavaScriptTestRunnerMain LibTest LibWasm LibJS LibCrypto LibGC)
|
|
set(wasm_test_root "${LADYBIRD_SOURCE_DIR}")
|
|
if (INCLUDE_WASM_SPEC_TESTS)
|
|
set(wasm_test_root "${CMAKE_BINARY_DIR}")
|
|
endif()
|
|
add_test(
|
|
NAME Wasm
|
|
COMMAND test-wasm --show-progress=false "${wasm_test_root}/Libraries/LibWasm/Tests"
|
|
)
|