Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
76bee783
Commit
76bee783
authored
9 years ago
by
Mikhail Glushenkov
Browse files
Options
Downloads
Plain Diff
Merge pull request #3236 from ezyang/cabal-tmp
More detailed docs for the PACKAGETESTS flags.
parents
dd94d8b8
a6e9a43d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Cabal/tests/README.md
+10
-1
10 additions, 1 deletion
Cabal/tests/README.md
with
10 additions
and
1 deletion
Cabal/tests/README.md
+
10
−
1
View file @
76bee783
...
...
@@ -21,11 +21,20 @@ the following environment variables:
*
`CABAL_PACKAGETESTS_GHC_PKG`
is the path to the ghc-pkg associated with this GHC
*
`CABAL_PACKAGETESTS_HADDOCK`
is the path to the haddock associated with this GHC
*
`CABAL_PACKAGETESTS_GHC_VERSION`
is the version of your GHC
*
`CABAL_PACKAGETESTS_WITH_GHC`
is the path for the GHC you want to have
Cabal use when running tests; i.e., you can change this to a different
version of GHC to see how Cabal handles that version.
*
`CABAL_PACKAGETESTS_DB_STACK`
is a PATH-style list of package database paths,
`clear`
,
`global`
and
`user`
. Each component of the list is
interpreted the same way as Cabal's
`-package-db`
flag. This list
must contain the copy of Cabal you are planning to test against
(as well as its transitive dependencies).
(as well as its transitive dependencies). A simple choice
is "clear:global" but you may also need to add another entry
for the local database that your development copy of Cabal
is being registered into; usually dist/package.conf.inplace
(if you are using old fashioned 'cabal configure; cabal build')
or dist-newstyle/packagedb/ghc-VERSION (if you are using
'cabal new-build')
If you can successfully run the test suite, we'll print out examples
of all of these values for you under "Environment".
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment