[Native] Don't group K2 MPP tests in Native codegen tests

K2 in MPP compilation expects that it receives module structure
  with exactly one platform leaf module. This invariant may be broken
  during grouping tests, so MPP tests should be run in standalone mode
This commit is contained in:
Dmitriy Novozhilov
2024-01-11 17:44:48 +02:00
committed by Space Team
parent 1434d26d1b
commit f9ea353b60
@@ -207,6 +207,12 @@ private class ExtTestDataFile(
directives.contains(IGNORE_NATIVE_K2.name)
) return true
/**
* K2 in MPP compilation expects that it receives module structure with exactly one platform leaf module
* This invariant may be broken during grouping tests, so MPP tests should be run in standalone mode
*/
if (pipelineType != PipelineType.K1 && testDataFileSettings.languageSettings.contains("+MultiPlatformProjects")) return true
var isStandaloneTest = false
filesToTransform.forEach { handler ->