dune_declare_test_labelΒΆ
Declare labels for dune_add_test.
dune_declare_test_label(
[LABELS label1 [label2 ...]]
)
- LABELS
The names of labels to declare. Label names must be nonempty and consist only of alphanumeric characters plus
-and_to make sure it is easy to construct regular expressions from them forctest -L ${label_regex}.
Labels need to be declared to ensure that the target
build_${label}_tests exists. They will normally be declared
on-demand by dune_add_test. But sometimes it is useful to be able to
run make build_${label}_tests whether or not any tests with that
label exists in a module. For these cases dune_declare_test_label can
be called explicitly.
The label quick is always predeclared.