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
20bed063
Commit
20bed063
authored
8 years ago
by
Edward Z. Yang
Browse files
Options
Downloads
Patches
Plain Diff
Enable other GHCs with Parsec (for Backpack coverage.)
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
833e41cf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
Cabal/tests/PackageTests.hs
+1
-1
1 addition, 1 deletion
Cabal/tests/PackageTests.hs
travis-script.sh
+4
-3
4 additions, 3 deletions
travis-script.sh
with
6 additions
and
5 deletions
.travis.yml
+
1
−
1
View file @
20bed063
...
...
@@ -46,7 +46,7 @@ matrix:
-
env
:
GHCVER=8.0.1 SCRIPT=solver-debug-flags
sudo
:
required
os
:
linux
-
env
:
GHCVER=8.0.1 SCRIPT=script PARSEC=YES
-
env
:
GHCVER=8.0.1 SCRIPT=script PARSEC=YES
TEST_OTHER_VERSIONS=YES
os
:
linux
sudo
:
required
-
env
:
GHCVER=8.0.1 SCRIPT=bootstrap
...
...
This diff is collapsed.
Click to expand it.
Cabal/tests/PackageTests.hs
+
1
−
1
View file @
20bed063
...
...
@@ -177,7 +177,7 @@ main = do
-- as, unlike in the case of the GHC used to build Cabal, we don't
-- expect htere to be a Cabal available.
with_ghc_db_stack_env
::
Maybe
String
<-
lookupEnv
"CABAL_PACKAGETESTS_WITH_
GHC_
DB_STACK"
<-
lookupEnv
"CABAL_PACKAGETESTS_WITH_DB_STACK"
let
withGhcDBStack0
::
PackageDBStack
withGhcDBStack0
=
interpretPackageDbFlags
True
...
...
This diff is collapsed.
Click to expand it.
travis-script.sh
+
4
−
3
View file @
20bed063
...
...
@@ -75,11 +75,12 @@ fi
# Redo the package tests with different versions of GHC
if
[
"x
$TEST_OTHER_VERSIONS
"
=
"xYES"
]
;
then
(
export
CABAL_PACKAGETESTS_
WITH_GHC
=
"/opt/ghc/7.0.4/bin/ghc
"
;
\
(
export
CABAL_PACKAGETESTS_
DB_STACK
=
"clear:global:
${
CABAL_STORE_DB
}
:
${
CABAL_LOCAL_DB
}
"
;
\
cd
Cabal
&&
timed
${
CABAL_BDIR
}
/build/package-tests/package-tests
$TEST_OPTIONS
)
(
export
CABAL_PACKAGETESTS_
WITH_GHC
=
"/opt/ghc/7.2.2/bin/ghc
"
;
\
(
export
CABAL_PACKAGETESTS_
DB_STACK
=
"clear:global:
${
CABAL_STORE_DB
}
:
${
CABAL_LOCAL_DB
}
"
;
\
cd
Cabal
&&
timed
${
CABAL_BDIR
}
/build/package-tests/package-tests
$TEST_OPTIONS
)
(
export
CABAL_PACKAGETESTS_WITH_GHC
=
"/opt/ghc/head/bin/ghc"
;
\
GHC_HEAD_VER
=
$(
ghc-head
--version
8 |
cut
-d
' '
-f
8
)
(
export
CABAL_PACKAGETESTS_DB_STACK
=
"clear:global:
${
CABAL_STORE_DB
}
:
${
CABAL_LOCAL_DB
}
"
;
\
cd
Cabal
&&
timed
${
CABAL_BDIR
}
/build/package-tests/package-tests
$TEST_OPTIONS
)
fi
...
...
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