Repository navigation
tests: Distribute the Coccinelle inputs - #3698
Merged
cgwalters merged 1 commit intoNov 16, 2026
Merged
Conversation
The source archive includes the Coccinelle launcher but omits its rule and README. Include both existing files in EXTRA_DIST so tests from a release archive have the same inputs as tests from a Git checkout.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Coccinelle source-distribution packaging change.
No open issues 🎉
What changed in this PR
This PR fixes source-distribution packaging for the existing Coccinelle test, ensuring release tarballs include its rule and documentation.
Changes:
- Adds
tests/coccinelle/raw-free.cocciandtests/coccinelle/README.mdtoEXTRA_DIST. - Preserves the source-relative layout expected by the launcher without changing test logic.
| File | Description |
|---|---|
Makefile-tests.am |
Includes the Coccinelle rule and README in release tarballs. |
Review effort: Balanced
cgwalters
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makefile-tests.amdistributes the Coccinelle launcher without the rule and README undertests/coccinelle/. Add the two existing files toEXTRA_DIST, so a release tarball contains the inputs used by the test.Validation: both files exist in current main and the two-line patch applies cleanly. The equivalent downstream source-distribution fix was used in native package tests on Debian Trixie and Ubuntu Resolute, Stonking and Tenacious (996/1000/1006/1058 passing tests; 10/11/11/9 separately recorded skips; no test failure or error). No full current-main build is claimed.