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

GitOrigin-RevId: 8acac1956e5601527d14e9e58dc3bb8f68ecf78a
This commit is contained in:
Ilia Kirianovskii
2025-09-25 08:24:59 +00:00
committed by intellij-monorepo-bot
parent 644fc5cb1d
commit 4aef697527
3 changed files with 15 additions and 1 deletions
+8 -1
View File
@@ -7,6 +7,12 @@ jvm_resources(
strip_prefix = "resources"
)
jvm_resources(
name = "shared_test_resources",
files = glob(["testResources/**/*"]),
strip_prefix = "testResources"
)
jvm_library(
name = "shared",
module_name = "intellij.python.community.services.shared",
@@ -44,7 +50,8 @@ jvm_library(
"//python/python-exec-service/execService.python:execService.python_test_lib",
"//platform/diagnostic",
"//platform/util",
]
],
runtime_deps = [":shared_test_resources"]
)
### auto-generated section `build intellij.python.community.services.shared` end
@@ -6,6 +6,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"/>
<module name="intellij.python.community.services.shared"/>
</dependencies>
</idea-plugin>