mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Meta: Let Wasm test pass without INCLUDE_WASM_SPEC_TESTS
This commit is contained in:
parent
2fa6c445cb
commit
743c71faa7
Notes:
github-actions[bot]
2024-07-31 00:38:51 +00:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/743c71faa71 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/821
1 changed files with 5 additions and 1 deletions
|
@ -584,9 +584,13 @@ if (BUILD_TESTING)
|
|||
../../Tests/LibWasm/test-wasm.cpp
|
||||
../../Userland/Libraries/LibTest/JavaScriptTestRunnerMain.cpp)
|
||||
target_link_libraries(test-wasm AK LibCore LibFileSystem LibTest LibWasm LibJS LibCrypto)
|
||||
set(wasm_test_root "${SERENITY_PROJECT_ROOT}")
|
||||
if (INCLUDE_WASM_SPEC_TESTS)
|
||||
set(wasm_test_root "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
endif()
|
||||
add_test(
|
||||
NAME Wasm
|
||||
COMMAND test-wasm --show-progress=false ${CMAKE_CURRENT_BINARY_DIR}/Userland/Libraries/LibWasm/Tests
|
||||
COMMAND test-wasm --show-progress=false "${wasm_test_root}/Userland/Libraries/LibWasm/Tests"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue