[openturns] 01/04: debian/rules: less verbose tests output

Denis Barbier barbier-guest at moszumanska.debian.org
Tue May 19 21:39:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

barbier-guest pushed a commit to branch debian
in repository openturns.

commit 35130d8e8552968f08ed2d3522478e81fc99f6b6
Author: Denis Barbier <bouzim at gmail.com>
Date:   Tue May 12 09:56:08 2015 +0100

    debian/rules: less verbose tests output
    
    Do not display LastTest.log, differences are already printed
    by setting CTEST_OUTPUT_ON_FAILURE=1.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2d22bfd..d722129 100755
--- a/debian/rules
+++ b/debian/rules
@@ -101,7 +101,7 @@ ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	[ -z "$$LD_LIBRARY_PATH" ] || sed -i -e "s#;LD_LIBRARY_PATH=[^;]*#&:$$LD_LIBRARY_PATH#" build-python$*/python/test/CTestTestfile.cmake
 	CTEST_OUTPUT_ON_FAILURE=1 \
 	  R_LIBS_SITE=$(CURDIR)/debian/tmp/usr/lib/R/site-library \
-	  $(MAKE) $(test_makeflags) -C build-python$* test ARGS="$(test_makeflags) -R pyinstallcheck" || { cat build-python$*/Testing/Temporary/LastTest.log; false; }
+	  $(MAKE) $(test_makeflags) -C build-python$* test ARGS="$(test_makeflags) -R pyinstallcheck"
 endif
 
 override_dh_makeshlibs:
@@ -123,7 +123,7 @@ cmake-test-%:
 	# 'make test' does not build binary tests
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) $(test_makeflags) -C build-python$* tests
-	CTEST_OUTPUT_ON_FAILURE=1 $(MAKE) -C build-python$* test ARGS="$(test_makeflags) -R cppcheck" || { cat build-python$*/Testing/Temporary/LastTest.log; false; }
+	CTEST_OUTPUT_ON_FAILURE=1 $(MAKE) -C build-python$* test ARGS="$(test_makeflags) -R cppcheck"
 endif
 
 get-orig-source:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/openturns.git



More information about the debian-science-commits mailing list