Skip to content
Snippets Groups Projects
Commit b39b94b5 authored by Matthew Pickering's avatar Matthew Pickering Committed by Mikolaj
Browse files

testsuite: Fix Executable-Relocatable test package database location

We were attempting to register a package into the global package
database, which then triggered some other check to do with relocatable
packages to fail.

The fix is to initialise and use a local package database, so the
package would be built and installed into the local package database.
parent dbe5cf42
No related branches found
No related tags found
No related merge requests found
...@@ -4,4 +4,4 @@ import Test.Cabal.Prelude ...@@ -4,4 +4,4 @@ import Test.Cabal.Prelude
main = setupAndCabalTest $ do main = setupAndCabalTest $ do
skipIfWindows skipIfWindows
skipUnlessGhcVersion ">= 8.0" skipUnlessGhcVersion ">= 8.0"
setup_build ["--enable-relocatable"] withPackageDb $ setup_build ["--enable-relocatable"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment