Fixed unit tests on X86_32 (#4279)
* fix unit tests on x86_32 * enbale wasm-c-api unit test on X86_32 * enable aot-stack-frame unit test on X86_32 * add ci: unit tests on X86_32
This commit is contained in:
@ -32,6 +32,7 @@ include (FetchContent)
|
||||
FetchContent_Declare (
|
||||
googletest
|
||||
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
|
||||
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable (googletest)
|
||||
|
||||
@ -42,19 +43,27 @@ enable_testing()
|
||||
|
||||
add_subdirectory(wasm-vm)
|
||||
add_subdirectory(interpreter)
|
||||
add_subdirectory(aot)
|
||||
add_subdirectory(wasm-c-api)
|
||||
add_subdirectory(libc-builtin)
|
||||
add_subdirectory(shared-utils)
|
||||
add_subdirectory(running-modes)
|
||||
add_subdirectory(runtime-common)
|
||||
add_subdirectory(custom-section)
|
||||
add_subdirectory(compilation)
|
||||
add_subdirectory(linear-memory-wasm)
|
||||
add_subdirectory(linear-memory-aot)
|
||||
add_subdirectory(aot-stack-frame)
|
||||
add_subdirectory(linux-perf)
|
||||
add_subdirectory(gc)
|
||||
add_subdirectory(memory64)
|
||||
add_subdirectory(tid-allocator)
|
||||
add_subdirectory(shared-heap)
|
||||
|
||||
if (NOT WAMR_BUILD_TARGET STREQUAL "X86_32")
|
||||
# should enable 32-bit llvm when X86_32
|
||||
add_subdirectory (aot)
|
||||
add_subdirectory (custom-section)
|
||||
add_subdirectory (compilation)
|
||||
|
||||
# Fast-JIT or mem64 is not supported on X86_32
|
||||
add_subdirectory (running-modes)
|
||||
add_subdirectory (memory64)
|
||||
add_subdirectory (shared-heap)
|
||||
|
||||
# HW_BOUND_CHECK is not supported on X86_32
|
||||
add_subdirectory (runtime-common)
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user