diff options
author | Modestas Vainius <modestas@vainius.eu> | 2009-11-12 13:37:50 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-11-12 13:37:50 -0500 |
commit | 9c484fa4be79b09214a573fdfc8a7ab25d7c7ab1 (patch) | |
tree | a5274b76730789e712c54a9360b2b4d18006f085 /Debian/Debhelper | |
parent | 1679f2ed0172f707480a9cc44e0d045d3f53a1c9 (diff) |
Enable verbose ctest output on test failure
When test fails, enable verbose ctest output. This allows to
get more details on a test failure from the build logs.
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Diffstat (limited to 'Debian/Debhelper')
-rw-r--r-- | Debian/Debhelper/Buildsystem/cmake.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm index 21a077ec..645c8c03 100644 --- a/Debian/Debhelper/Buildsystem/cmake.pm +++ b/Debian/Debhelper/Buildsystem/cmake.pm @@ -40,4 +40,11 @@ sub configure { $this->doit_in_builddir("cmake", $this->get_source_rel2builddir(), @flags, @_); } +sub test { + my $this=shift; + + $ENV{CTEST_OUTPUT_ON_FAILURE} = 1; + return $this->test(@_); +} + 1 |