mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +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: 743c71faa7
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
|
../../Tests/LibWasm/test-wasm.cpp
|
||||||
../../Userland/Libraries/LibTest/JavaScriptTestRunnerMain.cpp)
|
../../Userland/Libraries/LibTest/JavaScriptTestRunnerMain.cpp)
|
||||||
target_link_libraries(test-wasm AK LibCore LibFileSystem LibTest LibWasm LibJS LibCrypto)
|
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(
|
add_test(
|
||||||
NAME Wasm
|
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()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue