[pocl] 04/04: split override_dh_makeshlibs target for better error reporting

Andreas Beckmann anbe at moszumanska.debian.org
Fri May 27 09:24:45 UTC 2016


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

anbe pushed a commit to branch master
in repository pocl.

commit 3f2e55613315853d4e1c4cc08bc32b774f395bf3
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri May 27 07:45:15 2016 +0000

    split override_dh_makeshlibs target for better error reporting
---
 debian/rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6bc1001..dd56dc5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -87,14 +87,19 @@ override_dh_auto_test:
 	fi
 	$(RM) -r debian/testsuite-tmp-home
 
-override_dh_makeshlibs:
+run_dh_makeshlibs:
 	dh_makeshlibs
+
+delayed_check_dh_auto_test_result: run_dh_makeshlibs
 	if test -f debian/stamp-failed-testsuite ; then \
 		echo "***** The testsuite has failed! *****" ; \
 		grep '^ .*FAILED' < tests/testsuite.log ; \
 		sed -r '/Summary of the failures/,/Skipped tests/{/Skipped tests/d;p};d' tests/testsuite.log ; \
 		exit 1 ; \
 	fi
+	@echo "The testsuite has passed all tests"
+
+override_dh_makeshlibs: run_dh_makeshlibs delayed_check_dh_auto_test_result
 
 override_dh_gencontrol:
 	dh_gencontrol -- -V'LLVM:Version=$(LLVM_VERSION)'

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



More information about the Pkg-opencl-commits mailing list