mps.macro variables behave differently in headless build/test execution since 2023.2

Since 2023.2 the "mps.macro.<variable_name>" Variables are not available during headless test execution.
They were usually available as System.property during headless build.
How can I get them now e.g. during headless test execution?

0
1 comment

For example, in 2021.3, when I defined this folder macro for test execution in a build script:

folder mps.macro.myProject = <path to project>

… it was possible to get the value during headless test execution like this:

System.getProperty("mps.macro.myProject", null)

The macros must be available somehow, because I have this variable inside my TestInfo nodes and my tests are running as expected.

0

Please sign in to leave a comment.