Skip to content

chore: use lizardbyte-common in c++#221

Draft
ReenigneArcher wants to merge 4 commits into
masterfrom
chore/use-lizardbyte-common-in-c++
Draft

chore: use lizardbyte-common in c++#221
ReenigneArcher wants to merge 4 commits into
masterfrom
chore/use-lizardbyte-common-in-c++

Conversation

@ReenigneArcher

Copy link
Copy Markdown
Member

Description

Use lizardbyte-common helpers.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

Integrate lizardbyte-common library into the test build. Configure the submodule to be built as part of tests and link it to the test target. Update the lizardbyte-common submodule to the latest version.
Switch the test build from the local googletest submodule to `lizardbyte::test_support`. This removes `third-party/googletest` from submodules, enables `LIZARDBYTE_COMMON_BUILD_TEST_SUPPORT`, updates test linking/dependencies, and replaces direct `<gtest/gtest.h>` includes with `<lizardbyte/common/testing.h>`. Several fixture classes were also updated to inherit from `BaseTest` to align with the shared test support layer.
Bump `third-party/lizardbyte-common` from `4c05418359b38b09f3d5802243858a1d462a3b06` to `0fcde420419c77fdde04ffb04ceda0b560bd1cfc` to bring in the latest upstream changes.
@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (ee7ab0b) to head (6fdb598).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #221       +/-   ##
==========================================
- Coverage   63.16%   0.00%   -63.17%     
==========================================
  Files          35      33        -2     
  Lines        5261    5242       -19     
  Branches     2385    2386        +1     
==========================================
- Hits         3323       0     -3323     
- Misses       1114    5014     +3900     
+ Partials      824     228      -596     
Flag Coverage Δ
Linux 0.00% <ø> (-63.37%) ⬇️
macOS 0.00% <ø> (-49.96%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 34 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee7ab0b...6fdb598. Read the comment docs.

Bumps `third-party/lizardbyte-common` from `0fcde42` to `d219f38` to pull in the latest upstream common library changes.
@sonarqubecloud

Copy link
Copy Markdown

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.

c/c++: add env function wrappers for each platform

1 participant