-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Updates the generated bazel targets for burn-in to exclude the test being run from the target's `data` attribute, if present.
The generated target is changed like:
```diff
resmoke_suite_test(
name = "no_passthrough_burn_in_jstests_foo.js",
srcs = [
"//jstests/foo.js",
],
data = [
- "//jstests/foo.js",
"//some/other:dependency",
],
```
The resmoke_suite_test rule combines `data` and `srcs` internally, and bazel disallows duplicate labels in an attribute.