In particular, we could test all packages that depend on ocamlbuild in their latest version:
opam list --depends-on ocamlbuild --column name,version,all-versions -a --no-depexts
# Packages matching: available & depends-on(ocamlbuild)
# Name # Version # Versions
0install 2.12.3 2.6.2 2.8 2.9.1 2.10 2.11 2.12 2.12.1 2.12.3 2.14 2.14.1 2.15.1 2.15.2 2.16 2.17 2.18
ANSITerminal 0.7 0.6 0.6.2 0.6.3 0.6.4 0.6.5 0.7 0.8 0.8.1 0.8.2 0.8.3 0.8.4 0.8.5
abella 2.0.7 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
abt 0.0.3 0.0.3
afl-persistent 1.0 1.0 1.1 1.2 1.3 1.4
....
In the example above, we should test abt