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



opam test <package> # would have been nice …


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


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

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