Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691978 - cmake-utils.eclass should run ctest with --output-on-failure
Summary: cmake-utils.eclass should run ctest with --output-on-failure
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-12 06:50 UTC by tt_1
Modified: 2019-10-27 13:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2019-08-12 06:50:15 UTC
right now, ctest only reports failed tests as failed. With ctest --output-on-failure it would increase verbosity, by throwing out anything that the failed test program has thrown out before.
Comment 1 Andreas Sturmlechner gentoo-dev 2019-10-27 13:19:17 UTC
cmake-utils.eclass is already doing that:

> [[ -n ${TEST_VERBOSE} ]] && myctestargs+=( --extra-verbose --output-on-failure )

There's also:

> if [[ -n "${CMAKE_YES_I_WANT_TO_SEE_THE_TEST_LOG}" ]] ; then
> (prints LastTest.log)

So, just set these variables to get more verbosity. ;)