Disable mappings dump creating for JPS graph

Disable mappings dump for tests when JPS graph implementation is enabled
This commit is contained in:
Aleksei.Cherepanov
2023-10-20 12:29:31 +02:00
committed by Space Team
parent 93ebd83ecd
commit 431f77ddb4
@@ -616,10 +616,11 @@ abstract class AbstractIncrementalJpsTest(
private fun createMappingsDump(
project: ProjectDescriptor,
kotlinContext: KotlinCompileContext,
lookupsDuringTest: Set<LookupSymbol>
) = createKotlinCachesDump(project, kotlinContext, lookupsDuringTest) + "\n\n\n" +
createCommonMappingsDump(project) + "\n\n\n" +
createJavaMappingsDump(project)
lookupsDuringTest: Set<LookupSymbol>,
) = if (System.getProperty("jps.use.dependency.graph", "false").toBoolean()) "" else
createKotlinCachesDump(project, kotlinContext, lookupsDuringTest) + "\n\n\n" +
createCommonMappingsDump(project) + "\n\n\n" +
createJavaMappingsDump(project)
internal fun createKotlinCachesDump(
project: ProjectDescriptor,