[ocl-icd] 02/08: Log detailled test results when some tests fail

Vincent Danjean vdanjean at debian.org
Fri Dec 18 00:54:38 UTC 2015


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

vdanjean pushed a commit to branch master
in repository ocl-icd.

commit 1717c8bb269b5398e39907a12344106c73ecf1f5
Author: Vincent Danjean <Vincent.Danjean at ens-lyon.org>
Date:   Tue Jul 7 10:49:00 2015 +0200

    Log detailled test results when some tests fail
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 02f46f4..352a4e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,13 @@ override_dh_auto_configure:
 	dh_auto_configure -- --disable-debug --disable-update-database \
 		--enable-official-khronos-headers
 
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+	if ! dh_auto_test ; then \
+		cat tests/testsuite.log ; \
+		exit 1 ;\
+	fi
+
 .PHONY: override_dh_shlibdeps
 override_dh_shlibdeps:
 	dh_shlibdeps -a -- --warnings=7

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ocl-icd.git



More information about the Pkg-opencl-commits mailing list