From 4aef697527b8c2ca03418433cf717a4392b6f070 Mon Sep 17 00:00:00 2001 From: Ilia Kirianovskii Date: Wed, 24 Sep 2025 13:53:09 +0200 Subject: [PATCH] [python] Add intellij.python.community.services.shared._test module descriptor to run tests in dev-mode (IJPL-116621) GitOrigin-RevId: 8acac1956e5601527d14e9e58dc3bb8f68ecf78a --- python/services/shared/BUILD.bazel | 9 ++++++++- .../shared/intellij.python.community.services.shared.iml | 1 + .../intellij.python.community.services.shared._test.xml | 6 ++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 python/services/shared/testResources/intellij.python.community.services.shared._test.xml diff --git a/python/services/shared/BUILD.bazel b/python/services/shared/BUILD.bazel index f7dede5b145c..6622b10c5fc8 100644 --- a/python/services/shared/BUILD.bazel +++ b/python/services/shared/BUILD.bazel @@ -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 diff --git a/python/services/shared/intellij.python.community.services.shared.iml b/python/services/shared/intellij.python.community.services.shared.iml index 73be23996c57..f529a557ceb6 100644 --- a/python/services/shared/intellij.python.community.services.shared.iml +++ b/python/services/shared/intellij.python.community.services.shared.iml @@ -6,6 +6,7 @@ + diff --git a/python/services/shared/testResources/intellij.python.community.services.shared._test.xml b/python/services/shared/testResources/intellij.python.community.services.shared._test.xml new file mode 100644 index 000000000000..330e5fceb67d --- /dev/null +++ b/python/services/shared/testResources/intellij.python.community.services.shared._test.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file