- 
                Notifications
    You must be signed in to change notification settings 
- Fork 728
Refactor the CMake and related scripts for unit tests #4605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
808a5d3    to
    180b642      
    Compare
  
    02d19d7    to
    dd3bf40      
    Compare
  
    …ollection - only unit/CMakeLists.txt fetches googletest - only unit/unit_common.cmake find LLVM dependencies - use `WAMR_RUNTIME_LIB_SOURCE` to replace a long list
…sm-apps build process
dd3bf40    to
    4b4c16e      
    Compare
  
    | uses: ./.github/actions/install-wasi-sdk-wabt | ||
| with: | ||
| os: ${{ matrix.os }} | ||
|  | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe keep the empty line
| set (WAMR_BUILD_LIBC_WASI 0) | ||
| set (WAMR_BUILD_APP_FRAMEWORK 0) | ||
| # FIXME: if removed, LibcBuiltinTest.calloc will be failed | ||
| set (WAMR_BUILD_MULTI_MODULE 1) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By looking at the code, it shouldn't rely on multi-module; we should look into it in the future, this indeed warrants a FIXME:
| func_test_1.u.func->func_type->param_cell_num = 2; | ||
| func_test_1.u.func->func_type->types[0] = VALUE_TYPE_I64; | ||
| func_test_1.u.func->max_stack_cell_num = 10; | ||
| EXPECT_EQ(false, wasm_runtime_call_wasm_v( | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why were those codes removed?
--ignore-errors) on Ubuntu 24.04 (gcc13). Add a warning to notice that.