Skip to content

Feature/improve scoping of custom runner aspect #1759#1850

Open
dbinkele wants to merge 14 commits into
maintenance/mps20241from
feature/Improve-scoping-of-CustomRunnerAspect-#1759
Open

Feature/improve scoping of custom runner aspect #1759#1850
dbinkele wants to merge 14 commits into
maintenance/mps20241from
feature/Improve-scoping-of-CustomRunnerAspect-#1759

Conversation

@dbinkele

@dbinkele dbinkele commented Jun 25, 2026

Copy link
Copy Markdown
Member

Closes #1759

Problem

A CustomRunnerAspect could only reference solutions within its own containing root, because the scope of the runner's solution reference link was restricted to the descendants of the containing build project. This made it impossible to compose a proper MPS build for command-line interpreter test runs (and blocked #1751, which builds on this).

Changes

  • Scoping (org.iets3.opensource.build.gentests): The reference scope of CustomRunnerAspect is now a CompositeScope that combines the existing DescendantsScope with additional scopes, so a CustomRunnerAspect can reference BuildMps_Solutions defined outside its containing root.
  • Generator: Adapted to handle solutions referenced from other locations. The generated build script now also registers the MPS ant tasks (<taskdef resource="…/antlib.xml">) so the emitted runMPS task resolves — previously the generated build-testInterpreter2.xml failed with "failed to create task or type runMPS".
  • Gradle task: Restructured execTestsByInterpreter into a …Pre step plus the main task driving the new build-testInterpreterExec.xml script, so interpreter tests run end-to-end from the command line.
  • Build solution: Cleaned up the org.iets3.opensource.build / allScripts.build solutions and references.
  • CHANGELOG updated.

Testing

./gradlew execTestsByInterpreter runs to completion (BUILD SUCCESSFUL) and produces the interpreter test reports under build/generatedXMLs/.

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