How to make opam execute the build-test target of a package's opam file?

opam test <package> # would have been nice …

1 Like

I think it’s opam install --build-test <package> but as far as I remember that also installs the package

1 Like

And, by adding -v we actually see if something is really happening:

opam install -v --build-test <package>