The documentation for cram mentions
(cram (applies_to * \ foo bar) (deps ../foo.exe))
We use the Predicate Language to apply this stanza to all tests in this directory, except for
foo.t
andbar.t
.
But for some reason I only get the expected behavior of excluding foo.t and bar.t if I instead write
(cram
(enable_if false)
(applies_to foo bar) ...)
Furthermore, I don’t understand why the enable_if
clause is needed here.
Am I doing this wrong or is this an issue that should be reported?
(I tested this with dune 3.6.2)
6 posts - 2 participants