Skip to content

Makefile: fix testing and building of subpackages - #258

Merged
thaJeztah merged 1 commit into
moby:mainfrom
thaJeztah:fix_make
Sep 9, 2026
Merged

thaJeztah merged 1 commit into
moby:mainfrom
thaJeztah:fix_make

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

The Makefile iterates over modules, but its test and cross-build commands only operated on the package at each module root.

Use ./... so subpackages are included in tests, local dependency tests, and cross-platform builds.

The Makefile iterates over modules, but its test and cross-build commands only
operated on the package at each module root.

Use `./...` so subpackages are included in tests, local dependency tests, and
cross-platform builds.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

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

The functional changes are correct; only a minor usage-message inconsistency remains.

Pull request overview

Updates module-wide Makefile workflows to include all subpackages.

Changes:

  • Tests root and nested packages with ./....
  • Extends local-dependency tests and cross-builds to subpackages.
  • Clarifies that foreach iterates over modules.
File summaries
File Description
Makefile Expands testing and cross-building to module subpackages.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Makefile Outdated
@thaJeztah
thaJeztah merged commit bfc3f89 into moby:main Sep 9, 2026
25 checks passed
@thaJeztah
thaJeztah deleted the fix_make branch September 9, 2026 09:48

@kolyshkin kolyshkin 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.

post-merge LGTM

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.

4 participants