mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:27:34 +00:00
Meta: Run the Wasm spec tests in CI
Since LibWasm is still not capable of passing all of the spec tests, ignore failing tests, only fail the build if some segfault/abort/etc occurs.
This commit is contained in:
parent
13c1514889
commit
0e4431af33
5 changed files with 54 additions and 35 deletions
|
@ -1,6 +1,8 @@
|
|||
cmake_minimum_required (VERSION 3.0)
|
||||
project (Lagom)
|
||||
|
||||
include(../CMake/wasm_spec_tests.cmake)
|
||||
|
||||
if (NOT ENABLE_OSS_FUZZ)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wno-literal-suffix -O2 -Wall -Wextra -Werror -std=c++2a -fPIC -g -Wno-deprecated-copy")
|
||||
else()
|
||||
|
@ -168,7 +170,8 @@ if (BUILD_LAGOM)
|
|||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
set_tests_properties(WasmParser PROPERTIES
|
||||
ENVIRONMENT SERENITY_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
||||
ENVIRONMENT SERENITY_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
SKIP_RETURN_CODE 1)
|
||||
|
||||
add_executable(disasm_lagom ../../Userland/Utilities/disasm.cpp)
|
||||
set_target_properties(disasm_lagom PROPERTIES OUTPUT_NAME disasm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue