projects
/
debhelper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1679f2e
)
Enable verbose ctest output on test failure
author
Modestas Vainius
<modestas@vainius.eu>
Thu, 12 Nov 2009 18:37:50 +0000
(13:37 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Thu, 12 Nov 2009 18:37:50 +0000
(13:37 -0500)
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>
Debian/Debhelper/Buildsystem/cmake.pm
patch
|
blob
|
history
diff --git
a/Debian/Debhelper/Buildsystem/cmake.pm
b/Debian/Debhelper/Buildsystem/cmake.pm
index 21a077ec284eb43e9c0364d8f86f88b53a7b5f1b..645c8c03faf6b16e7c6e1f7b7431a7b6cc6afe88 100644
(file)
--- 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