[pocl] 03/08: report if the testsuite was not run (but don't fail)

Andreas Beckmann anbe at moszumanska.debian.org
Sat May 28 18:03:42 UTC 2016


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

anbe pushed a commit to branch experimental
in repository pocl.

commit 53aca92305869829be99d67ecf9b2e478a500b73
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri May 27 20:09:43 2016 +0200

    report if the testsuite was not run (but don't fail)
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index dd56dc5..df4ef9e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -97,7 +97,7 @@ delayed_check_dh_auto_test_result: run_dh_makeshlibs
 		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"
+	@test -f tests/testsuite.log && echo 'The testsuite has passed all tests.' || echo '*** The testsuite was *NOT* run! ***'
 
 override_dh_makeshlibs: run_dh_makeshlibs delayed_check_dh_auto_test_result
 

-- 
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