Skip to content

Conversation

@emreariyurek
Copy link
Contributor

Fix #1642

@codecov
Copy link

codecov bot commented Sep 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.94%. Comparing base (8b280e7) to head (f19df9e).
⚠️ Report is 13 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2618   +/-   ##
========================================
  Coverage    81.94%   81.94%           
========================================
  Files          380      380           
  Lines        14230    14230           
  Branches      7852     7852           
========================================
  Hits         11661    11661           
  Misses        1433     1433           
  Partials      1136     1136           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines +23 to +27
sed_script=$(mktemp)
for header in $all_local_headers; do
escaped_header=$(printf '%s\n' "$header" | sed 's/[\/&]/\\&/g')
echo "s|#include[[:space:]]*[\"<]$escaped_header[\">]|#include \"$header\"|g" >> "$sed_script"
done
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it possible to make replacements directly, instead of generating code to make replacements?

fi

# Get a list of all header filenames in src/ and tests/ (recursively, unique)
all_local_headers=$(find ./src ./tests -type f \( -name '*.hpp' -o -name '*.h' \) -exec basename {} \; | sort -u)
Copy link
Collaborator

Choose a reason for hiding this comment

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

We don't have *.h files

fi

# Get a list of all header filenames in src/ and tests/ (recursively, unique)
all_local_headers=$(find ./src ./tests -type f \( -name '*.hpp' -o -name '*.h' \) -exec basename {} \; | sort -u)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need 2 implementations?
I mean using both main_src_dirs and all_local_headers?

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.

#Include TestGlobals.hpp is using "<>" instead of quotations

3 participants