cabal-validate
: Output is too verbose and not verbose enough
#10569
Labels
cabal-validate
validate.sh (cabal-validate) test suite runner
meta: tracking
re: devx
Improving the cabal developer experience (internal issue)
type: testing
Issues about project test suites
./validate.sh
starts by printing 93 lines of output (runtime configuration, tool and compiler versions, the names and versions of all transitive dependencies and local packages) before anything gets built. This is regardless of whether or not--verbose
is passed.Then, unless you pass
--verbose
, it hides thecabal build
output! A clean build can take several minutes, so it's annoying to have no indication of how close it is to being done or what it's doing.Then, regardless of if
--verbose
is passed, test suites won't output any indication that they've run a test! This is because the default Tasty arguments include--hide-successes
, there's no--no-hide-successes
option, and./validate.sh --tasty-arg ...
can only add arguments, not replace the default ones.Proposal:
print-config
,print-tool-versions
, and the full build plan output (currently inseparable from thebuild
step) should be hidden by default, unless--verbose
is given.cabal build
output should be shown by default. Maybe a--quiet
option could be added to hide it?--verbose
should toggle--hide-successes
for test suites.The text was updated successfully, but these errors were encountered: