Skip to content
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

Remove duplicated functionality from test_config #457

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

mjcarroll
Copy link
Contributor

@mjcarroll mjcarroll commented Oct 31, 2023

  • Use gz::utils::env family of functions rather than the OS equivalents (which are also missing on Windows)
  • Use gz::utils disable macros rather than custom ones.
  • Remove std::filesystem logic, as we are only supporting c++17 and above here.

Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Oct 31, 2023
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #457 (bb52bd6) into gz-transport12 (e21d910) will not change coverage.
The diff coverage is n/a.

❗ Current head bb52bd6 differs from pull request most recent head 798e7f6. Consider uploading reports for the commit 798e7f6 to get more accurate results

@@               Coverage Diff               @@
##           gz-transport12     #457   +/-   ##
===============================================
  Coverage           87.29%   87.29%           
===============================================
  Files                  60       60           
  Lines                5211     5211           
===============================================
  Hits                 4549     4549           
  Misses                662      662           

Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
@mjcarroll mjcarroll marked this pull request as ready for review October 31, 2023 18:10
@mjcarroll mjcarroll self-assigned this Oct 31, 2023
Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor change in test name

src/Discovery_TEST.cc Outdated Show resolved Hide resolved
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
@mjcarroll mjcarroll merged commit c6be5a2 into gz-transport12 Nov 2, 2023
13 of 14 checks passed
@mjcarroll mjcarroll deleted the mjcarroll/test_cleanup branch November 2, 2023 16:42
mjcarroll added a commit that referenced this pull request Nov 2, 2023
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants