[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:
committed by
Space Team
parent
1434d26d1b
commit
f9ea353b60
+6
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user