Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 521

Is it possible to restrict inline tests to a specific package in a multi-package dune project?

$
0
0

If I have a dune runtest alias, I can include a package field to only use the alias when building that package.

For example, if I have a package aplus that depends on package a in the same repo, I don’t want to try to run the tests for aplus when just installing a. So I can write (package aplus) in the rule definition to say that I should only run those tests when I’m actually trying to build aplus.

Is there a way to do this for inline tests?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles