Skip to content

Remove test-helper warnings#974

Open
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:test-helper-warning-cleanup
Open

Remove test-helper warnings#974
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:test-helper-warning-cleanup

Conversation

@benthecarman

Copy link
Copy Markdown
Contributor

fixes the annoying unused warnings in tests

The shared integration-test helpers are macros used by different test binaries in different combinations. Export them as macros instead of reexporting private macro definitions from common, so targets that use only a subset no longer emit unused helper warnings.

The shared integration-test helpers are macros used by different test
binaries in different combinations. Export them as macros instead of
reexporting private macro definitions from common, so targets that use
only a subset no longer emit unused helper warnings.

AI-Tool: OpenAI Codex
@ldk-reviews-bot

ldk-reviews-bot commented Jul 8, 2026

Copy link
Copy Markdown

I've assigned @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@ldk-reviews-bot ldk-reviews-bot requested a review from tnull July 8, 2026 21:48

@tnull tnull left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sir, this is broken right now.

Also not a big fan of using macro_export here. It might make more sense to cfg-gate the respective methods so they are only exported when really needed.

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.

3 participants