Skip to content

Validate only the procedures that apply at the run's subset level - #64

Merged
jadamcrain merged 1 commit into
mainfrom
validate-levels
Oct 14, 2026
Merged

jadamcrain merged 1 commit into
mainfrom
validate-levels

Conversation

@jadamcrain

Copy link
Copy Markdown
Member

Found while doing item 4 of #59.

Revision.validate collected configuration problems from every selected procedure that's implemented and enabled. That included procedures that don't apply at the configured subset level, even though the runner skips those without running them. So a 3.1r1 run at level 2 could be refused because the configuration lacked what 8.26.3, a level 3 test, needs.

validate now checks only the procedures the run will actually run: those that are implemented, apply at the level, and are enabled. These are the same conditions TestRunner.skipReason uses. A new test checks both cases: at level 1 the level 2 procedure's problem is ignored, and at level 2 it's reported.

Revision.validate collected the configuration problems of every
selected procedure that's implemented and enabled, including those that
don't apply at the configured subset level, which a run skips. A
3.1r1 run at level 2 could be refused for what 8.26.3, a level 3 test,
needs. It now checks the procedures the run will run: implemented,
applicable at the level, and enabled.

Part of #59.
@jadamcrain
jadamcrain merged commit 7bbaca9 into main Oct 14, 2026
5 checks passed
@jadamcrain
jadamcrain deleted the validate-levels branch October 14, 2026 21:53
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