[python] Add intellij.python.community.execService._test module descriptor to run tests in dev-mode (IJPL-116621)

GitOrigin-RevId: 4ac875d629c57ba44248cb6028145dc550c77d76
This commit is contained in:
Ilia Kirianovskii
2025-09-25 00:06:41 +00:00
committed by intellij-monorepo-bot
parent 9522b27a4d
commit 0a0f0f4ba8
3 changed files with 15 additions and 1 deletions
+8 -1
View File
@@ -13,6 +13,12 @@ jvm_resources(
strip_prefix = "resources"
)
jvm_resources(
name = "community-execService_test_resources",
files = glob(["testResources/**/*"]),
strip_prefix = "testResources"
)
jvm_library(
name = "community-execService",
module_name = "intellij.python.community.execService",
@@ -69,7 +75,8 @@ jvm_library(
"//platform/projectModel-api:projectModel",
"@lib//:kotlinx-serialization-json",
"@lib//:kotlinx-serialization-core",
]
],
runtime_deps = [":community-execService_test_resources"]
)
### auto-generated section `build intellij.python.community.execService` end
@@ -27,6 +27,7 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/testResources" type="java-test-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
@@ -0,0 +1,6 @@
<idea-plugin>
<dependencies>
<module name="intellij.platform.testFramework.junit5.eel._test"/>
<module name="intellij.python.community.execService"/>
</dependencies>
</idea-plugin>