[sagemath] 01/02: Fail the build if the dochtml log contains errors

Ximin Luo infinity0 at debian.org
Sun Jan 8 02:06:13 UTC 2017


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit 7b625c2c78f6c0f33816f509331a05200c235c2a
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sun Jan 8 03:03:04 2017 +0100

    Fail the build if the dochtml log contains errors
    
    Sometimes we get MemoryError and this causes an incomplete docbuild but it
    silently succeeds and we get an incomplete Debian package.
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 4011dcb..485bc8b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,6 +78,7 @@ DEB_BUILD_TARGET = all
 endif
 override_dh_auto_build: prune
 	MAKE='make -j$(NUMJOBS)' make --directory=sage $(DEB_BUILD_TARGET)
+	! grep Error sage/logs/dochtml.log
 
 override_dh_auto_test: ptestlong
 

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



More information about the debian-science-commits mailing list