]> git.donarmstrong.com Git - debhelper.git/blobdiff - Debian/Debhelper/Buildsystem/cmake.pm
Enable verbose ctest output on test failure
[debhelper.git] / Debian / Debhelper / Buildsystem / cmake.pm
index 21a077ec284eb43e9c0364d8f86f88b53a7b5f1b..645c8c03faf6b16e7c6e1f7b7431a7b6cc6afe88 100644 (file)
@@ -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