cabal icon indicating copy to clipboard operation
cabal copied to clipboard

testsuite: Pass pkgdb of store used for intree Cabal

Open sheaf opened this issue 1 year ago • 1 comments

Template B: This PR does not modify behaviour or interface of Cabal or cabal-install – it is purely a change in the testsuite.

This PR modifies cabal-testsuite to allow passing the path to the "store" package database. This allows the test suite to handle building packages with a custom setup that depends on other packages (which get installed into the store).

Checklist:

  • [x] Patch conforms to the coding conventions.
  • [x] Add a test that requires this functionality.

sheaf avatar May 03 '24 12:05 sheaf

This simple but relevant test suite change is ready to be reviewed.

In upcoming #9871, this change is tested by BuildToolPaths because process will be installed in the store when building the in-tree libraries and needed for the test to pass.

alt-romes avatar May 08 '24 07:05 alt-romes