mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[build script tests] load project configuration from the community project when running IdeaCommunityBuildTest
The test is supposed to check building IDEA Community from intellij-community sources, so it should work this way even if it's started from the ultimate project. GitOrigin-RevId: 998d7ebe01282b4031ca8cea772aef6f7a2d699d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e25cabae46
commit
feb0e6c6cf
@@ -11,6 +11,7 @@ import org.jetbrains.intellij.build.BuildPaths.Companion.COMMUNITY_ROOT
|
||||
import org.jetbrains.intellij.build.impl.BuildContextImpl
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.junit.jupiter.api.TestInfo
|
||||
import kotlin.io.path.Path
|
||||
|
||||
class IdeaCommunityBuildTest {
|
||||
@Test
|
||||
@@ -18,7 +19,7 @@ class IdeaCommunityBuildTest {
|
||||
val homePath = PathManager.getHomeDirFor(javaClass)!!
|
||||
val productProperties = IdeaCommunityProperties(COMMUNITY_ROOT.communityRoot)
|
||||
runTestBuild(
|
||||
homeDir = homePath,
|
||||
homeDir = Path(PathManager.getCommunityHomePath()),
|
||||
testInfo = testInfo,
|
||||
productProperties = productProperties,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user