From e23fd3f1840fdedf3b143b24acba4275700ed279 Mon Sep 17 00:00:00 2001 From: Ilia Kirianovskii Date: Wed, 24 Sep 2025 22:41:17 +0200 Subject: [PATCH] [python] Add intellij.python.terminal._test module descriptor to run tests in dev-mode (IJPL-116621) GitOrigin-RevId: 78265cfee46d31e3f0fa9be0c2f15677801ee9f1 --- python/python-terminal/BUILD.bazel | 9 ++++++++- python/python-terminal/intellij.python.terminal.iml | 1 + .../testResources/intellij.python.terminal._test.xml | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 python/python-terminal/testResources/intellij.python.terminal._test.xml diff --git a/python/python-terminal/BUILD.bazel b/python/python-terminal/BUILD.bazel index 1d1cea97c062..efc9e2351b77 100644 --- a/python/python-terminal/BUILD.bazel +++ b/python/python-terminal/BUILD.bazel @@ -7,6 +7,12 @@ jvm_resources( strip_prefix = "resources" ) +jvm_resources( + name = "terminal_test_resources", + files = glob(["testResources/**/*"]), + strip_prefix = "testResources" +) + jvm_library( name = "terminal", module_name = "intellij.python.terminal", @@ -53,7 +59,8 @@ jvm_library( "@lib//:junit5Params", "@lib//:junit5Pioneer", "//platform/testFramework/common", - ] + ], + runtime_deps = [":terminal_test_resources"] ) ### auto-generated section `build intellij.python.terminal` end diff --git a/python/python-terminal/intellij.python.terminal.iml b/python/python-terminal/intellij.python.terminal.iml index effcad1853ac..b354fddd8bdb 100644 --- a/python/python-terminal/intellij.python.terminal.iml +++ b/python/python-terminal/intellij.python.terminal.iml @@ -6,6 +6,7 @@ + diff --git a/python/python-terminal/testResources/intellij.python.terminal._test.xml b/python/python-terminal/testResources/intellij.python.terminal._test.xml new file mode 100644 index 000000000000..a578ad298ee1 --- /dev/null +++ b/python/python-terminal/testResources/intellij.python.terminal._test.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file