mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
build: bazel: do not run non-sandbox tests in sandbox
if sandbox parameter of jps_test is false, do not run tests in sandbox at all it's expected that tests will gradually set sandbox=True and there will be rainbows and fireworks ref IJI-2653 Bazel: prototype tests running from Bazel GitOrigin-RevId: e277fbc53d09f77e8f8d8133bd3bc448e4cc3eae
This commit is contained in:
committed by
intellij-monorepo-bot
parent
00785c162c
commit
26a40784c4
@@ -113,6 +113,9 @@ def jps_test(name, jvm_flags = [], runtime_deps = [], args = [], data = [], tags
|
||||
# so com.intellij.tests.JUnit5BazelRunner.guessBazelWorkspaceDir will find a real workspace root
|
||||
all_data.append("@community//:intellij.idea.community.main.iml")
|
||||
|
||||
if "no-sandbox" not in all_tags:
|
||||
all_tags.append("no-sandbox")
|
||||
|
||||
# https://bazel.build/reference/be/java#java_test
|
||||
# https://bazel.build/reference/be/common-definitions#common-attributes-tests
|
||||
java_test(
|
||||
|
||||
Reference in New Issue
Block a user