Skip to content
GitLab
Menu
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
9583fdab
Commit
9583fdab
authored
Jun 26, 2014
by
Miëtek Bak
Browse files
Document 'cabal test --show-details=streaming'
parent
d40464fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/Setup.hs
View file @
9583fdab
...
@@ -1620,7 +1620,8 @@ testCommand = makeCommand name shortDesc longDesc defaultTestFlags options
...
@@ -1620,7 +1620,8 @@ testCommand = makeCommand name shortDesc longDesc defaultTestFlags options
,
option
[]
[
"show-details"
]
,
option
[]
[
"show-details"
]
(
"'always': always show results of individual test cases. "
(
"'always': always show results of individual test cases. "
++
"'never': never 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
})
testShowDetails
(
\
v
flags
->
flags
{
testShowDetails
=
v
})
(
reqArg
"FILTER"
(
reqArg
"FILTER"
(
readP_to_E
(
\
_
->
"--show-details flag expects one of "
(
readP_to_E
(
\
_
->
"--show-details flag expects one of "
...
...
Cabal/doc/installing-packages.markdown
View file @
9583fdab
...
@@ -990,8 +990,8 @@ suites, otherwise, Cabal will run all test suites in the package.
...
@@ -990,8 +990,8 @@ suites, otherwise, Cabal will run all test suites in the package.
`--show-details=`
_filter_
`--show-details=`
_filter_
: Determines if the results of individual test cases are shown on the
: Determines if the results of individual test cases are shown on the
terminal. May be
`always`
(always show),
`never`
(never show),
or
terminal. May be
`always`
(always show),
`never`
(never show),
`failures`
`failures`
(show only the test cases of failing test suites
).
(show only failed results), or
`streaming`
(show all results in real time
).
`--test-options=`
_options_
`--test-options=`
_options_
: Give extra options to the test executables.
: Give extra options to the test executables.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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