Skip to content

Document how to check which bundles a test run actually uses - #2407

Closed
vogella wants to merge 1 commit into
eclipse-pde:masterfrom
vogella:agents-md-test-dependency-closure
Closed

Document how to check which bundles a test run actually uses#2407
vogella wants to merge 1 commit into
eclipse-pde:masterfrom
vogella:agents-md-test-dependency-closure

Conversation

@vogella

@vogella vogella commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

AGENTS.md already explains that a changed production bundle has to be listed in -pl next to its test bundle. That covers the listed bundle, but every other bundle still comes from the target platform as a released artifact, so a change that the test bundle only reaches indirectly is silently not under test. This adds -am for building the whole upstream closure from source, following the same pattern the SWT repository documents.

It also describes how to verify the outcome: target/work/configuration/config.ini names the bundles the harness installed, so a path under the local target/ directory means your build was used and one under ~/.m2/repository/p2/ means the released bundle was. That check is worth doing before trusting a green or a red run, because only the test bundle itself is mapped to its class folders via dev.properties.

Building the changed bundle alongside its test bundle covers that one
bundle, but every other bundle still comes from the target platform as a
released artifact, so a change reached only indirectly is not under test.
Mention -am for building the upstream closure from source, and describe
how to tell from config.ini whether the harness installed the local build
or the released bundle.
@vogella vogella closed this Jul 28, 2026
@vogella
vogella deleted the agents-md-test-dependency-closure branch July 28, 2026 18:20
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.

1 participant