summaryrefslogtreecommitdiff
path: root/testsuite/.gitignore
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2015-12-27 23:57:18 +0100
committerBen Gamari <ben@smart-cactus.org>2015-12-27 23:57:19 +0100
commit1b0001680ef66a2853103974d3f3f956bb0560a3 (patch)
tree76462be00b762ae1ff08e024f76b93f534bba36e /testsuite/.gitignore
parentc8d0af3107d4a01b73f813e31ac9b989772a2288 (diff)
downloadhaskell-1b0001680ef66a2853103974d3f3f956bb0560a3.tar.gz
The -package flag should select match from right-most package db.
The shadowing and default behavior (in the absence of -hide-all-packages) prefers packages that come from "later" package databases. So for example if tmp1.d and tmp2.d both expose p-1.0, then ghc -package-db tmp1.d -package-db tmp2.d brings the p-1.0 from tmp2.d into scope (and if they have the same IPID, tmp2.d shadows tmp1.d). HOWEVER, -package flags do NOT respect this behavior. ghc -package-db tmp1.d -package-db tmp2.d -package p-1.0 this will force the p-1.0 from tmp1.d to be exposed! This is confusing, so this patch makes the behavior of -package flags consistent. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1709
Diffstat (limited to 'testsuite/.gitignore')
-rw-r--r--testsuite/.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/.gitignore b/testsuite/.gitignore
index 6b943590f6..e8e4114853 100644
--- a/testsuite/.gitignore
+++ b/testsuite/.gitignore
@@ -121,6 +121,9 @@ mk/ghcconfig*_test___spaces_ghc*.exe.mk
/tests/cabal/cabal05/r-0.1.0.0/
/tests/cabal/cabal06/inst-*/
/tests/cabal/cabal06/tmp*
+/tests/cabal/cabal08/Main
+/tests/cabal/cabal08/inst-*
+/tests/cabal/cabal08/tmp*
/tests/cabal/local01.package.conf/
/tests/cabal/local03.package.conf/
/tests/cabal/local04.package.conf/