[Build] Run only FIR PSI tests in predefined [JPS] Fast FIR tests configuration
This commit is contained in:
committed by
Space Team
parent
a92c53daec
commit
1cac3b4ae1
@@ -33,6 +33,7 @@ build/
|
||||
.idea/artifacts/KotlinPlugin.xml
|
||||
.idea/modules
|
||||
.idea/runConfigurations/JPS_*.xml
|
||||
.idea/runConfigurations/_JPS_*.xml
|
||||
.idea/runConfigurations/PILL_*.xml
|
||||
.idea/runConfigurations/_FP_*.xml
|
||||
.idea/runConfigurations/_MT_*.xml
|
||||
|
||||
@@ -141,14 +141,14 @@ fun setupFirRunConfiguration() {
|
||||
|
||||
val junit = JUnit("_stub").apply { configureForKotlin("2048m") }
|
||||
junit.moduleName = "kotlin.compiler.fir.fir2ir.test"
|
||||
junit.pattern = """^.*\.Fir\w+Test\w*Generated$"""
|
||||
junit.pattern = """^.*\.FirPsi\w+Test\w*Generated$"""
|
||||
junit.vmParameters = junit.vmParameters.replace(rootDir.absolutePath, "\$PROJECT_DIR\$")
|
||||
junit.workingDirectory = junit.workingDirectory.replace(rootDir.absolutePath, "\$PROJECT_DIR\$")
|
||||
|
||||
rootDir.resolve(".idea/runConfigurations/JPS__Fast_FIR_tests.xml").writeText(
|
||||
rootDir.resolve(".idea/runConfigurations/JPS__Fast_FIR_PSI_tests.xml").writeText(
|
||||
"""
|
||||
|<component name="ProjectRunConfigurationManager">
|
||||
| <configuration default="false" name="[JPS] Fast FIR tests" type="JUnit" factoryName="JUnit">
|
||||
| <configuration default="false" name="[JPS] Fast FIR PSI tests" type="JUnit" factoryName="JUnit">
|
||||
| <module name="${junit.moduleName}" />
|
||||
| <option name="MAIN_CLASS_NAME" value="" />
|
||||
| <option name="METHOD_NAME" value="" />
|
||||
|
||||
Reference in New Issue
Block a user