Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
d6537952
Commit
d6537952
authored
Jan 06, 2018
by
Francesco Gazzetta
Browse files
Switch the failing test from test- to lib-only
Since now new-run can run tests too (but obviously not libs)
parent
51bf62cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
cabal-install/tests/IntegrationTests2.hs
View file @
d6537952
...
...
@@ -869,9 +869,9 @@ testTargetProblemsRun config reportSubCase = do
[
(
CmdRun
.
TargetProblemNoTargets
,
mkTargetPackage
"p-0.1"
)
]
reportSubCase
"
test
-only"
reportSubCase
"
lib
-only"
assertProjectTargetProblems
"targets/
test
-only"
config
"targets/
lib
-only"
config
CmdRun
.
selectPackageTargets
CmdRun
.
selectComponentTarget
CmdRun
.
TargetProblemCommon
...
...
cabal-install/tests/IntegrationTests2/targets/lib-only/p.cabal
0 → 100644
View file @
d6537952
name: p
version: 0.1
build-type: Simple
cabal-version: >= 1.2
library
exposed-modules: P
build-depends: base
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment