Skip to content

testsuite: Allow testing Cabal library via cabal-install tests #9681

Closed
@mpickering

Description

@mpickering

At the moment the testsuite has two kinds of tests.

  • Setup.hs tests, which are built against the in-tree Cabal library
  • cabal-install tests, which use the in-tree cabal-install library but the boot compiler Cabal library.

This has caused much confusion with people writing cabal-install tests to attempt to test things they have changed in Cabal and wondering why the test never runs (see #9425)

We should be able to have more control in the testsuite about which version of the Cabal library is used for cabal-install tests.

  • Use the boot compiler Cabal library (like we do now)
  • Use the intree library, for testing changes in master.
  • Use a specific Cabal library.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions