Skip to content

Conversation

lum1n0us
Copy link
Collaborator

@lum1n0us lum1n0us commented Sep 8, 2025

Although the code coverage script works well on Ubuntu 22.04 (gcc11), it encountered several issues on Ubuntu 24.04 (gcc13). Add a warning to notice that.

Perform some refactoring to fix these issues and create a lightweight template.

  • use --ignore-errors
  • only unit/CMakeLists.txt fetch googletest
  • only unit/unit_common.cmake prepare LLVM related variables
  • use WAMR_RUNTIME_LIB_SOURCE to replace a long list
  • every case identifies compilation flags for their unique test plan

@lum1n0us lum1n0us force-pushed the fix/unit_coverage branch 2 times, most recently from 0d5e813 to 808a5d3 Compare September 8, 2025 23:21
…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
@lum1n0us lum1n0us changed the title streamline CMake configurations and improve code coverage collection streamline CMake configurations Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant