Tests. Add defineJDKEnvVariables to tests of FIR2IR
Some tests use environment variables JDK_8, JDK_11, and JDK_17. To ensure that the tests work out of the box, we should set these variables in the tests.
This commit is contained in:
committed by
Space Team
parent
568b593da7
commit
3b979fb60e
@@ -80,7 +80,10 @@ fun Test.configure(configureJUnit: JUnitPlatformOptions.() -> Unit = {}) {
|
||||
}
|
||||
}
|
||||
|
||||
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||
projectTest(
|
||||
jUnitMode = JUnitMode.JUnit5,
|
||||
defineJDKEnvVariables = listOf(JdkMajorVersion.JDK_1_8, JdkMajorVersion.JDK_11_0, JdkMajorVersion.JDK_17_0)
|
||||
) {
|
||||
configure()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user