From 0a0f0f4ba8c66722e16bfe1ab8d2f4cc5e5bed63 Mon Sep 17 00:00:00 2001 From: Ilia Kirianovskii Date: Wed, 24 Sep 2025 13:30:32 +0200 Subject: [PATCH] [python] Add intellij.python.community.execService._test module descriptor to run tests in dev-mode (IJPL-116621) GitOrigin-RevId: 4ac875d629c57ba44248cb6028145dc550c77d76 --- python/python-exec-service/BUILD.bazel | 9 ++++++++- .../intellij.python.community.execService.iml | 1 + .../intellij.python.community.execService._test.xml | 6 ++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 python/python-exec-service/testResources/intellij.python.community.execService._test.xml diff --git a/python/python-exec-service/BUILD.bazel b/python/python-exec-service/BUILD.bazel index 4e22966edd39..43fa51298850 100644 --- a/python/python-exec-service/BUILD.bazel +++ b/python/python-exec-service/BUILD.bazel @@ -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 diff --git a/python/python-exec-service/intellij.python.community.execService.iml b/python/python-exec-service/intellij.python.community.execService.iml index 5c65de795829..0a6c9c6a2d94 100644 --- a/python/python-exec-service/intellij.python.community.execService.iml +++ b/python/python-exec-service/intellij.python.community.execService.iml @@ -27,6 +27,7 @@ + diff --git a/python/python-exec-service/testResources/intellij.python.community.execService._test.xml b/python/python-exec-service/testResources/intellij.python.community.execService._test.xml new file mode 100644 index 000000000000..493e864bc446 --- /dev/null +++ b/python/python-exec-service/testResources/intellij.python.community.execService._test.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file