tarides / opam-monorepo

Assemble dune workspaces to build your project and its dependencies as a whole
ISC License
130 stars 27 forks source link

Make tests compatible with macos #357

Closed gridbugs closed 2 years ago

gridbugs commented 2 years ago

Some commands used in tests use features not available on macos:

I updated the tests to use perl instead as its behaviour will be consistent across different unixes.

Also, when using homebrew as a package manager, opam incorrectly reports non-existent packages as available, presumably because brew provides no fast way to query for the existence of non-installed packages. This was causing a depext test to fail on macos.

Signed-off-by: Stephen Sherratt stephen@sherra.tt