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
094ffc81
Commit
094ffc81
authored
Jun 26, 2014
by
tibbe
Browse files
Merge pull request #1965 from mietek/issue-1964
Document 'cabal test --show-details=streaming' (#1964)
parents
d40464fc
9583fdab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/Setup.hs
View file @
094ffc81
...
...
@@ -1620,7 +1620,8 @@ testCommand = makeCommand name shortDesc longDesc defaultTestFlags options
,
option
[]
[
"show-details"
]
(
"'always': always show results of individual test cases. "
++
"'never': never show results of individual test cases. "
++
"'failures': show results of failing test cases."
)
++
"'failures': show results of failing test cases. "
++
"'streaming': show results of test cases in real time."
)
testShowDetails
(
\
v
flags
->
flags
{
testShowDetails
=
v
})
(
reqArg
"FILTER"
(
readP_to_E
(
\
_
->
"--show-details flag expects one of "
...
...
Cabal/doc/installing-packages.markdown
View file @
094ffc81
...
...
@@ -990,8 +990,8 @@ suites, otherwise, Cabal will run all test suites in the package.
`--show-details=`
_filter_
: Determines if the results of individual test cases are shown on the
terminal. May be
`always`
(always show),
`never`
(never show),
or
`failures`
(show only the test cases of failing test suites
).
terminal. May be
`always`
(always show),
`never`
(never show),
`failures`
(show only failed results), or
`streaming`
(show all results in real time
).
`--test-options=`
_options_
: Give extra options to the test executables.
...
...
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