r44832 - /packages/openturns/trunk/debian/rules

barbier-guest at users.alioth.debian.org barbier-guest at users.alioth.debian.org
Fri May 18 18:31:44 UTC 2012


Author: barbier-guest
Date: Fri May 18 18:31:44 2012
New Revision: 44832

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44832
Log:
Display output of failed tests to help debug failures

Set CTEST_OUTPUT_ON_FAILURE when running tests.
Do not abort if tests fail; this was the behaviour
with Autotools.

Modified:
    packages/openturns/trunk/debian/rules

Modified: packages/openturns/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rules?rev=44832&op=diff
==============================================================================
--- packages/openturns/trunk/debian/rules (original)
+++ packages/openturns/trunk/debian/rules Fri May 18 18:31:44 2012
@@ -75,7 +75,7 @@
 	-mkdir -p debian/tmp/usr/share/openturns/m4
 	cp lib/m4/*.m4 debian/tmp/usr/share/openturns/m4
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-	$(MAKE) $(test_makeflags) -C $(builddir) installcheck
+	-CTEST_OUTPUT_ON_FAILURE=1 $(MAKE) $(test_makeflags) -C $(builddir) installcheck
 endif
 	#  Fix script permissions
 	chmod a+x debian/tmp/usr/share/openturns/WrapperTemplates/wrapper_*/customize debian/tmp/usr/share/openturns/WrapperTemplates/wrapper_*/bootstrap
@@ -96,7 +96,7 @@
 override_dh_auto_test:
 	# Call 'make check' explicitly, 'make test' does not build binary tests
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-	$(MAKE) $(test_makeflags) -C $(builddir) check
+	-CTEST_OUTPUT_ON_FAILURE=1 $(MAKE) $(test_makeflags) -C $(builddir) check
 endif
 
 override_dh_auto_clean:




More information about the debian-science-commits mailing list