Skip to content

tests: Distribute the Coccinelle inputs - #3698

Merged
cgwalters merged 1 commit into
ostreedev:mainfrom
Test-bot-cell:codex/distribute-coccinelle-inputs
Nov 16, 2026
Merged

cgwalters merged 1 commit into
ostreedev:mainfrom
Test-bot-cell:codex/distribute-coccinelle-inputs

Conversation

@Test-bot-cell

Copy link
Copy Markdown
Contributor

Makefile-tests.am distributes the Coccinelle launcher without the rule and README under tests/coccinelle/. Add the two existing files to EXTRA_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.

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 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.cocci and tests/coccinelle/README.md to EXTRA_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
cgwalters merged commit 7fe1624 into ostreedev:main Nov 16, 2026
38 of 40 checks passed
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