-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
DevProd Correctness
-
Fully Compatible
-
Correctness 2026-02-23
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
It is common for suites to re-use a list of tests, excludes, or tags. Being able to store them in common .bzl files will eliminate the duplication that would otherwise be required.
This adds supports for the following syntax to the the subset that the resmoke interop mechanism can handle, originally introduced in https://github.com/10gen/mongo/commit/14728d565ec41b93dfb5adbab18228fd928c67cc.
```
- core.bzl
CORE_SRCS = [
"//jstests/core:all_subpackage_javascript_files",
"//jstests/core_standalone:all_subpackage_javascript_files",
]
```
``` - BUILD.bazel
load(":core.bzl", "CORE_SRCS")
resmoke_suite_test(
name = "core",
srcs = CORE_SRCS,
...
resmoke_suite_test(
name = "jscore_passthrough",
srcs = CORE_SRCS,
...
```