Add a tag so that we can differentiate staleness tests

PiperOrigin-RevId: 507000114
pull/13171/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent 6e1cbdfe09
commit 65e7d4a3d9
  1. 3
      cmake/build_defs.bzl

@ -25,7 +25,7 @@
"""Bazel support functions related to CMake support.""" """Bazel support functions related to CMake support."""
def staleness_test(name, outs, generated_pattern, target_files = None, **kwargs): def staleness_test(name, outs, generated_pattern, target_files = None, tags = [], **kwargs):
"""Tests that checked-in file(s) match the contents of generated file(s). """Tests that checked-in file(s) match the contents of generated file(s).
The resulting test will verify that all output files exist and have the The resulting test will verify that all output files exist and have the
@ -72,5 +72,6 @@ def staleness_test(name, outs, generated_pattern, target_files = None, **kwargs)
deps = [ deps = [
Label("//cmake:staleness_test_lib"), Label("//cmake:staleness_test_lib"),
], ],
tags = ["staleness_test"] + tags,
**kwargs **kwargs
) )

Loading…
Cancel
Save