[Pkg-mono-svn-commits] [mono] 01/03: Added a hard timeout of 1 hour per test pass to prevent blocking buildds forever

Mirco Bauer meebey at moszumanska.debian.org
Thu Jan 16 11:42:22 UTC 2014


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

meebey pushed a commit to branch master-experimental
in repository mono.

commit fd41e43c61d9b45930d0f3dfe4fc9607ac3eeae9
Author: Mirco Bauer <meebey at meebey.net>
Date:   Thu Jan 16 09:54:35 2014 +0100

    Added a hard timeout of 1 hour per test pass to prevent blocking buildds forever
---
 debian/rules | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2f58d86..48df8d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,9 +55,10 @@ ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	MONO_BOEHM_TEST = true
 	MONO_SGEN_TEST = true
 else
-	MINI_TEST = cd mono/mini && make check
-	MONO_BOEHM_TEST = cd mono/tests && MONO_ENV_OPTIONS=--gc=boehm make test
-	MONO_SGEN_TEST = cd mono/tests && MONO_ENV_OPTIONS=--gc=sgen make test
+	TIMEOUT = timeout -k 1h 1h
+	MINI_TEST = cd mono/mini && $(TIMEOUT) make check
+	MONO_BOEHM_TEST = cd mono/tests && MONO_ENV_OPTIONS=--gc=boehm $(TIMEOUT) make test
+	MONO_SGEN_TEST = cd mono/tests && MONO_ENV_OPTIONS=--gc=sgen $(TIMEOUT) make test
 endif
 ifeq ($(DEB_BUILD_ARCH), powerpc)
 	MONO_SGEN_TEST = true

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



More information about the Pkg-mono-svn-commits mailing list