Meta: No longer ignore test-wasm results during testing

Since the Wasm runtime should be fully spec-compliant, we want to make
sure that the spec-tests always pass.
This commit is contained in:
Diego Frias 2024-07-23 11:19:46 -07:00 committed by Ali Mohammad Pur
parent 6ae2b8c3d9
commit 48f1861ce9
Notes: github-actions[bot] 2024-07-27 13:03:28 +00:00

View file

@ -581,13 +581,9 @@ if (BUILD_TESTING)
../../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)
add_test( add_test(
NAME WasmParser NAME Wasm
COMMAND test-wasm --show-progress=false ${CMAKE_CURRENT_BINARY_DIR}/Userland/Libraries/LibWasm/Tests COMMAND test-wasm --show-progress=false ${CMAKE_CURRENT_BINARY_DIR}/Userland/Libraries/LibWasm/Tests
) )
set_tests_properties(WasmParser PROPERTIES
SKIP_RETURN_CODE 1
ENVIRONMENT LADYBIRD_SOURCE_DIR=${SERENITY_PROJECT_ROOT}
)
endif() endif()
# FIXME: When we are using CMake >= 3.21, the library installations can be replaced with RUNTIME_DEPENDENCIES. # FIXME: When we are using CMake >= 3.21, the library installations can be replaced with RUNTIME_DEPENDENCIES.