[pocl] 02/14: show the full tests/testsuite.log on testsuite failures
Andreas Beckmann
anbe at moszumanska.debian.org
Mon Apr 25 09:11:32 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 9ca839526274dc0a7456593a5207c5acd2b5f9aa
Author: Andreas Beckmann <anbe at debian.org>
Date: Tue Mar 22 00:27:13 2016 +0100
show the full tests/testsuite.log on testsuite failures
---
debian/changelog | 1 +
debian/rules | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index c718b3c..cb2eb88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ pocl (0.11-1) UNRELEASED; urgency=medium
[ Andreas Beckmann ]
* Use a temporary, writable $HOME while running the testsuite.
+ * Show the full tests/testsuite.log on testsuite failures.
-- Vincent Danjean <vdanjean at debian.org> Fri, 12 Jun 2015 10:07:30 +0200
diff --git a/debian/rules b/debian/rules
index c1c17f0..87dc9c0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,7 +76,7 @@ override_dh_auto_test:
$(RM) -r debian/testsuite-tmp-home
mkdir debian/testsuite-tmp-home
if ! HOME=$(CURDIR)/debian/testsuite-tmp-home dh_auto_test ; then \
- for f in $$(find tests/testsuite.dir -type f); do \
+ for f in $$(find tests/testsuite.dir -type f | sort) tests/testsuite.log; do \
echo "******************************************" ;\
echo "* File: $$f" ;\
echo "******************************************" ;\
@@ -90,6 +90,7 @@ override_dh_auto_test:
override_dh_makeshlibs:
dh_makeshlibs
if test -f debian/stamp-failed-testsuite ; then \
+ echo "***** The testsuite has failed! *****" ; \
grep '^ .*FAILED' < tests/testsuite.log ; \
exit 1 ; \
fi
--
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