IJPL-159596 remote dev tests using dev-mode - part 2

GitOrigin-RevId: 39890e67352a1889f2d7b9faee831cde6d8fb7a3
This commit is contained in:
Vladimir Krivosheev
2024-10-14 08:35:03 +02:00
committed by intellij-monorepo-bot
parent d4fc023f6b
commit 1263daf022
2 changed files with 7 additions and 3 deletions

View File

@@ -45,7 +45,9 @@ internal class JarPackagerDependencyHelper(private val context: BuildContext) {
val moduleName = module.name
// todo use some marker
if (moduleName == "intellij.rdct.testFramework" || moduleName == "intellij.rdct.tests.distributed") {
if (moduleName == "intellij.rdct.testFramework" ||
moduleName == "intellij.platform.split.testFramework" ||
moduleName == "intellij.rdct.tests.distributed") {
return true
}

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.runtime.repository;
import org.jetbrains.annotations.ApiStatus;
@@ -46,7 +46,9 @@ public final class RuntimeModuleId {
* Creates ID of a runtime module corresponding to the test part of module {@code moduleName} in intellij project configuration.
*/
public static @NotNull RuntimeModuleId moduleTests(@NotNull String moduleName) {
return new RuntimeModuleId(moduleName + TESTS_NAME_SUFFIX);
return new RuntimeModuleId(moduleName.equals("intellij.platform.split")
? "intellij.platform.split.testFramework"
: moduleName + TESTS_NAME_SUFFIX);
}
/**