[Bazel] Make gentbl_test compatible with coverage
authorGeoffrey Martin-Noble <gcmn@google.com>
Fri, 16 Jul 2021 01:05:57 +0000 (18:05 -0700)
committerGeoffrey Martin-Noble <gcmn@google.com>
Fri, 16 Jul 2021 20:57:15 +0000 (13:57 -0700)
commit9c5b73fef44b42973cd0cf08242e7144d24030e8
tree0d484b0bfa9f0a355ca8a8c6c2be42c12bc8de58
parent8b86b3a846eea066a11583a3316cd461311cfecd
[Bazel] Make gentbl_test compatible with coverage

Add explicit coverage provider. Also remove output_to_genfiles which
isn't necessary for this test (it's just copy-pasta from gentbl_rule,
which needs it for output C++ header files).

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D106115
utils/bazel/llvm-project-overlay/mlir/tblgen.bzl