Avoid duplicate labels in resmoke burn-in targets

XMLWordPrintableJSON

    • 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.

            Assignee:
            Sean Lyons
            Reporter:
            Sean Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: