Skip to content

Commit

Permalink
test(ut): add cpu.hpp test
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.N <[email protected]>
  • Loading branch information
MRNIU committed Jun 16, 2024
1 parent 13b2c2d commit a690c34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
cmake --preset=build_x86_64
cmake --build build_x86_64 --target boot
cmake --build build_x86_64 --target kernel
cmake --build build_x86_64 --target unit-test
cmake --build build_x86_64 --target coverage
- name: riscv64
Expand Down
3 changes: 2 additions & 1 deletion cmake/functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ function(add_coverage_target)
-b ${ARG_SOURCE_DIR}
--no-external
${EXCLUDES}
--rc lcov_branch_coverage=1
--rc branch_coverage=1
--ignore-errors mismatch
COMMAND ${GENHTML_EXE}
${COVERAGE_OUTPUT_DIR}/coverage.info
-o ${COVERAGE_OUTPUT_DIR}
Expand Down

0 comments on commit a690c34

Please sign in to comment.