Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325675 - cmake-utils.eclass: respect TEST_VERBOSE
Summary: cmake-utils.eclass: respect TEST_VERBOSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-26 10:31 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-07-22 16: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 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-06-26 10:31:52 UTC
The Perl eclasses or build system already have a TEST_VERBOSE variable to switch between terse and verbose testing output. Given the number of packages using cmake for tests and the fact that half the time I can't go back at checking out the log files left behind, is it possible to make it output _more_?

Also, do you really have to support both test and check, and limit at -j1? The limitation at -j1 for tests is vastly used as a failsafe, but even with autotools it's usually not required... I would expect it to be even less required for cmake.

At any rate, at least verbosity would be nice to have.

Thanks,
Diego
Comment 1 Maciej Mrozowski gentoo-dev 2010-06-26 18:09:42 UTC
src_test in cmake-utils is broken anyway (it's just a copy of portage internal one), fix (using ctest --extra-verbose) is being tested in kde overlay now. I'll make it respect TEST_VERBOSE variable.
Comment 2 Maciej Mrozowski gentoo-dev 2010-07-09 16:39:38 UTC
Commited, TEST_VERBOSE will now append "--extra-verbose --output-on-failure" to ctest (which replaces make check). If --output-on-failure produces undesirable (excessive) build log, I'll remove it (typical --extra-verbose should be sufficient in most cases anyway).